summaryrefslogtreecommitdiff
path: root/lang/rust/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust/Makefile')
-rw-r--r--lang/rust/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 62b56f4a131e..2c1b693ac5ab 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -137,9 +137,7 @@ _COMPONENTS+= rustc-dev-${_PACKAGE_VERS}-${_RUST_TARGET}
# anyway...
.if exists(${PATCHDIR}/no-hardlinks)
_KERN_OSRELDATE!= ${SYSCTL} -n kern.osreldate 2>/dev/null || echo 0
-. if ${_KERN_OSRELDATE} >= 1400040
-. elif ${_KERN_OSRELDATE} >= 1300521
-. else
+. if ${_KERN_OSRELDATE} < 1300521
EXTRA_PATCHES+= ${PATCHDIR}/no-hardlinks
. endif
.endif