diff options
author | nia <nia@pkgsrc.org> | 2021-02-25 08:47:16 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-02-25 08:47:16 +0000 |
commit | a46c9856f01a5510e8a86975359eb062c930080e (patch) | |
tree | 9141fddfefea393a9af67c8bb6e0fcc687824dd8 /lang | |
parent | be587e9a938fb3342f3f0df65f1c958d8ea4c33e (diff) | |
download | pkgsrc-a46c9856f01a5510e8a86975359eb062c930080e.tar.gz |
rust: Make sure curl is buildlinked on NetBSD
This should be a temporary measure until all the bootstraps are fixed
Diffstat (limited to 'lang')
-rw-r--r-- | lang/rust/options.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lang/rust/options.mk b/lang/rust/options.mk index 0bc44aa99e1..2c8a77b7ea9 100644 --- a/lang/rust/options.mk +++ b/lang/rust/options.mk @@ -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 |