Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: cargo cult netbsd version check for MA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/53b0790f1373
branches:  trunk
changeset: 432404:53b0790f1373
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 21 21:03:44 2020 +0000

description:
rust: cargo cult netbsd version check for MAKE_JOBS_SAFE

diffstat:

 lang/rust/cargo.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 3f96af69af4d -r 53b0790f1373 lang/rust/cargo.mk
--- a/lang/rust/cargo.mk        Thu May 21 21:00:49 2020 +0000
+++ b/lang/rust/cargo.mk        Thu May 21 21:03:44 2020 +0000
@@ -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 @@
 
 .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