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/c51b11372c98
branches:  trunk
changeset: 410253:c51b11372c98
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 f62ea0685952 -r c51b11372c98 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