pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust Mark all cargo-using packages as MAKE_JOBS_S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e63639781214
branches:  trunk
changeset: 409716:e63639781214
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Jan 19 16:53:10 2020 +0000

description:
Mark all cargo-using packages as MAKE_JOBS_SAFE=no on netbsd.
It triggers an rtld issue.

diffstat:

 lang/rust/cargo.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r ae01bfd5cc1d -r e63639781214 lang/rust/cargo.mk
--- a/lang/rust/cargo.mk        Sun Jan 19 16:52:46 2020 +0000
+++ b/lang/rust/cargo.mk        Sun Jan 19 16:53:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.10 2019/12/03 16:29:39 minskim Exp $
+# $NetBSD: cargo.mk,v 1.11 2020/01/19 16:53:10 maya 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
@@ -34,6 +34,12 @@
 EXTRACT_DIR.${_crate}.crate?=  ${CARGO_VENDOR_DIR}
 .endfor
 
+.include "../../mk/bsd.prefs.mk"
+# Triggers NetBSD ld.so bug (PR toolchain/54192)
+.if ${OPSYS} == "NetBSD"
+MAKE_JOBS_SAFE=        no
+.endif
+
 post-extract: cargo-vendor-crates
 .PHONY: cargo-vendor-crates
 cargo-vendor-crates:



Home | Main Index | Thread Index | Old Index