summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-05-24 09:37:43 +0000
committernia <nia@pkgsrc.org>2022-05-24 09:37:43 +0000
commit0667730c98144af296ba14fa4749127f1638bc36 (patch)
tree7795a63430805d28fc32d875bc5c91549bac2cc6 /lang
parentd77fcb1a359e8e16275f3c72a1b2acddb45236dd (diff)
downloadpkgsrc-0667730c98144af296ba14fa4749127f1638bc36.tar.gz
rust: Use OPSYS_VERSION.
Diffstat (limited to 'lang')
-rw-r--r--lang/rust/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 671bc0cb770..d4742772512 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.256 2022/05/18 20:57:28 he Exp $
+# $NetBSD: Makefile,v 1.257 2022/05/24 09:37:43 nia Exp $
DISTNAME= rustc-1.59.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -153,16 +153,9 @@ CONFIGURE_ARGS+= --set llvm.targets="ARM;X86"
#
# If we aren't on 9-current, and are on 8.x or 9.x, avoid parallel.
# \todo Consider avoiding setting this on netbsd-9 past the fix.
-. if ${MACHINE_PLATFORM:MNetBSD-[1-9].*} && !${MACHINE_PLATFORM:MNetBSD-9.99.*}
+. if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099957
MAKE_JOBS_SAFE?= no
. endif
-
-# Open PRs
-#
-# Broken package with PREFIX not /usr/pkg:
-# http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54453
-#
-
.endif
#