diff options
author | nia <nia@pkgsrc.org> | 2022-06-13 13:38:19 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-06-13 13:38:19 +0000 |
commit | e3fef6010bdc221a98d6f3d99a48df9101fda925 (patch) | |
tree | b8099dc94e2f8c3a88b44d5c1deace480265656e /lang/rust | |
parent | 3f99970077c13d7cb468675ca6ea6324ef7c5a58 (diff) | |
download | pkgsrc-e3fef6010bdc221a98d6f3d99a48df9101fda925.tar.gz |
rust: For clarity, rename rust-llvm to rust-internal-llvm
Diffstat (limited to 'lang/rust')
-rw-r--r-- | lang/rust/options.mk | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/rust/options.mk b/lang/rust/options.mk index bd52d638e45..e3a1e46bc04 100644 --- a/lang/rust/options.mk +++ b/lang/rust/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.24 2022/05/25 21:31:26 he Exp $ +# $NetBSD: options.mk,v 1.25 2022/06/13 13:38:19 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.rust PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs @@ -7,10 +7,10 @@ PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs # The bundled LLVM current has issues building on SunOS. .if ${OPSYS} != "SunOS" -PKG_SUPPORTED_OPTIONS+= rust-llvm -# There may be compatibility issues with base LLVM. +PKG_SUPPORTED_OPTIONS+= rust-internal-llvm +# There may be compatibility issues with the base LLVM on e.g. NetBSD. . if !empty(HAVE_LLVM) -PKG_SUGGESTED_OPTIONS+= rust-llvm +PKG_SUGGESTED_OPTIONS+= rust-internal-llvm . endif .endif @@ -20,13 +20,14 @@ PKG_SUGGESTED_OPTIONS+= rust-llvm PKG_SUGGESTED_OPTIONS+= rust-cargo-static .endif +PKG_OPTIONS_LEGACY_OPTS+= rust-llvm:rust-internal-llvm + .include "../../mk/bsd.options.mk" # # Use the internal copy of LLVM or the external one? -# The internal one contains some extra optimizations. # -.if empty(PKG_OPTIONS:Mrust-llvm) +.if empty(PKG_OPTIONS:Mrust-internal-llvm) BUILDLINK_API_DEPENDS.llvm+= llvm>=12.0.0 .include "../../lang/llvm/buildlink3.mk" CONFIGURE_ARGS+= --enable-llvm-link-shared |