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:           Tue May 24 09:51:51 UTC 2022

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

Log Message:
cargo.mk: use OPSYS_VERSION


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 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.29 pkgsrc/lang/rust/cargo.mk:1.30
--- pkgsrc/lang/rust/cargo.mk:1.29      Wed Oct  6 10:25:32 2021
+++ pkgsrc/lang/rust/cargo.mk   Tue May 24 09:51:51 2022
@@ -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_VEN
 .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
 



Home | Main Index | Thread Index | Old Index