git: 864a4c252978 - main - lang/rust: stable/13 has the kern.proc.pathname fixes too

From: Tobias Kortkamp <tobik_at_FreeBSD.org>
Date: Wed, 24 Nov 2021 09:09:20 UTC
The branch main has been updated by tobik:

URL: https://cgit.FreeBSD.org/ports/commit/?id=864a4c252978a09ad5e230208b9abbeb4ae08de0

commit 864a4c252978a09ad5e230208b9abbeb4ae08de0
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2021-11-24 07:09:02 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2021-11-24 09:05:49 +0000

    lang/rust: stable/13 has the kern.proc.pathname fixes too
---
 lang/rust/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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