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:           Thu Feb 25 08:47:16 UTC 2021

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

Log Message:
rust: Make sure curl is buildlinked on NetBSD

This should be a temporary measure until all the bootstraps are fixed


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/rust/options.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/options.mk
diff -u pkgsrc/lang/rust/options.mk:1.9 pkgsrc/lang/rust/options.mk:1.10
--- pkgsrc/lang/rust/options.mk:1.9     Mon Jan  4 10:12:42 2021
+++ pkgsrc/lang/rust/options.mk Thu Feb 25 08:47:16 2021
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2021/01/04 10:12:42 jperkin Exp $
+# $NetBSD: options.mk,v 1.10 2021/02/25 08:47:16 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.rust
 PKG_SUPPORTED_OPTIONS+=        rust-cargo-static
@@ -14,7 +14,13 @@ PKG_SUGGESTED_OPTIONS+=              rust-llvm
 .  endif
 .endif
 
-.if ${OPSYS} == "NetBSD"
+# As of 2021-02-25 cargo is only a static binary in x88_64 and
+# powerpc bootstraps
+.if ${OPSYS} == "NetBSD" && \
+    ${MACHINE_ARCH} != "i386" && \
+    ${MACHINE_ARCH} != "aarch64" && \
+    ${MACHINE_ARCH} != "earmv7hf" && \
+    ${MACHINE_ARCH} != "sparc64"
 PKG_SUGGESTED_OPTIONS+=        rust-cargo-static
 .endif
 



Home | Main Index | Thread Index | Old Index