summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-05-24 09:51:51 +0000
committernia <nia@pkgsrc.org>2022-05-24 09:51:51 +0000
commitab569fe57e21d4e38dd5a1d5da253d8e82be9660 (patch)
tree3ada7f8aa8da5ac56ca08544da306205a27fda04 /lang
parent5e92d2351ffde3b34c7cb8200cd4ab3e5a07d730 (diff)
downloadpkgsrc-ab569fe57e21d4e38dd5a1d5da253d8e82be9660.tar.gz
cargo.mk: use OPSYS_VERSION
Diffstat (limited to 'lang')
-rw-r--r--lang/rust/cargo.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/rust/cargo.mk b/lang/rust/cargo.mk
index b62da9fcf1d..51aff04a897 100644
--- a/lang/rust/cargo.mk
+++ b/lang/rust/cargo.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.29 2021/10/06 10:25:32 jperkin Exp $
+# $NetBSD: cargo.mk,v 1.30 2022/05/24 09:51:51 nia Exp $
#
# Common logic that can be used by packages that depend on cargo crates
# from crates.io. This lets existing pkgsrc infrastructure fetch and verify
@@ -39,7 +39,7 @@ EXTRACT_DIR.${crate}.crate?= ${CARGO_VENDOR_DIR}
.include "../../mk/bsd.prefs.mk"
# Triggers NetBSD ld.so bug (PR toolchain/54192)
# See Makefile for further information.
-.if ${MACHINE_PLATFORM:MNetBSD-[1-9].*} && !${MACHINE_PLATFORM:MNetBSD-9.99.*}
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099957
MAKE_JOBS_SAFE= no
.endif