aboutsummaryrefslogtreecommitdiff
path: root/lang/rust/Makefile
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-03-29 12:18:57 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-03-30 23:59:51 +0000
commit56932296b7bc5c29380a4c433c5a9250fb6b4fb5 (patch)
treefcadc9b2e2c571e2e78fbc91681b07e0cbcbb676 /lang/rust/Makefile
parent450bb37cf300a850f3c5825bbe79860558cbe3f7 (diff)
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