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:   maya
Date:           Sun Jan 19 16:53:10 UTC 2020

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 pkgsrc/lang/rust/cargo.mk:1.11
--- pkgsrc/lang/rust/cargo.mk:1.10      Tue Dec  3 16:29:39 2019
+++ pkgsrc/lang/rust/cargo.mk   Sun Jan 19 16:53:10 2020
@@ -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 @@ SITES.${_crate}.crate+=              -${MASTER_SITE_
 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