pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May 21 21:03:44 UTC 2020

Modified Files:
        pkgsrc/lang/rust: cargo.mk

Log Message:
rust: cargo cult netbsd version check for MAKE_JOBS_SAFE


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/rust/cargo.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/rust/cargo.mk
diff -u pkgsrc/lang/rust/cargo.mk:1.12 pkgsrc/lang/rust/cargo.mk:1.13
--- pkgsrc/lang/rust/cargo.mk:1.12      Mon May 18 16:17:20 2020
+++ pkgsrc/lang/rust/cargo.mk   Thu May 21 21:03:44 2020
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.12 2020/05/18 16:17:20 nia Exp $
+# $NetBSD: cargo.mk,v 1.13 2020/05/21 21:03:44 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
@@ -42,7 +42,8 @@ EXTRACT_DIR.${_crate}.crate?= ${CARGO_VE
 
 .include "../../mk/bsd.prefs.mk"
 # Triggers NetBSD ld.so bug (PR toolchain/54192)
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" && !empty(MACHINE_PLATFORM:MNetBSD-9.99.*) && \
+    !empty(MACHINE_PLATFORM:MNetBSD-[1-9][0-9].*)
 MAKE_JOBS_SAFE=        no
 .endif
 



Home | Main Index | Thread Index | Old Index