pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Make sure curl is buildlinked on NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2078d1551b0d
branches:  trunk
changeset: 447706:2078d1551b0d
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Feb 25 08:47:16 2021 +0000

description:
rust: Make sure curl is buildlinked on NetBSD

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

diffstat:

 lang/rust/options.mk |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r e02f2c866818 -r 2078d1551b0d lang/rust/options.mk
--- a/lang/rust/options.mk      Thu Feb 25 08:25:47 2021 +0000
+++ b/lang/rust/options.mk      Thu Feb 25 08:47:16 2021 +0000
@@ -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 @@
 .  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