aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-11-24 07:09:02 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2021-11-24 09:05:49 +0000
commit864a4c252978a09ad5e230208b9abbeb4ae08de0 (patch)
tree6389ac3960f1c40e0f87f1ba3936927560403821 /lang
parentf6058fee5dbbf87666a703b0f178ea57d75c1b62 (diff)
downloadports-864a4c252978a09ad5e230208b9abbeb4ae08de0.tar.gz
ports-864a4c252978a09ad5e230208b9abbeb4ae08de0.zip
lang/rust: stable/13 has the kern.proc.pathname fixes too
Diffstat (limited to 'lang')
-rw-r--r--lang/rust/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 2a584a160ab0..5a2aee23f2df 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -114,7 +114,9 @@ EXTRA_PATCHES+= ${PATCHDIR}/${ARCH}${BOOTSTRAPS_SUFFIX}
# anyway...
.if exists(${PATCHDIR}/no-hardlinks)
_KERN_OSRELDATE!= ${SYSCTL} -n kern.osreldate 2>/dev/null || echo 0
-. if ${_KERN_OSRELDATE} < 1400040
+. if ${_KERN_OSRELDATE} >= 1400040
+. elif ${_KERN_OSRELDATE} >= 1300521
+. else
EXTRA_PATCHES+= ${PATCHDIR}/no-hardlinks
. endif
.endif