diff options
author | jperkin <jperkin@pkgsrc.org> | 2021-01-04 10:12:42 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2021-01-04 10:12:42 +0000 |
commit | fa67fb9327cf1424a64b3bc9376ba136529da337 (patch) | |
tree | 627d005bc81c767bc0ba09819400b62abd2d9cef /lang/rust | |
parent | 1156953b17261ea3622bcc1858d8e3793e3c5140 (diff) | |
download | pkgsrc-fa67fb9327cf1424a64b3bc9376ba136529da337.tar.gz |
rust: Limit rust-cargo-static option to NetBSD.
Other OS bundle the necessary libraries with the bootstrap kits, and enabling
this option would mean having to carry additional patches for the bundled zlib
etc.
Diffstat (limited to 'lang/rust')
-rw-r--r-- | lang/rust/options.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/rust/options.mk b/lang/rust/options.mk index b0ec210b252..0bc44aa99e1 100644 --- a/lang/rust/options.mk +++ b/lang/rust/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.8 2021/01/01 20:44:48 he Exp $ +# $NetBSD: options.mk,v 1.9 2021/01/04 10:12:42 jperkin Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.rust -PKG_SUPPORTED_OPTIONS= # empty +PKG_SUPPORTED_OPTIONS+= rust-cargo-static .include "../../mk/bsd.fast.prefs.mk" @@ -14,8 +14,9 @@ PKG_SUGGESTED_OPTIONS+= rust-llvm . endif .endif -PKG_SUPPORTED_OPTIONS+= rust-cargo-static +.if ${OPSYS} == "NetBSD" PKG_SUGGESTED_OPTIONS+= rust-cargo-static +.endif .include "../../mk/bsd.options.mk" |