pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust rust: Limit rust-cargo-static option to NetBSD.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2489203c8d48
branches: trunk
changeset: 444233:2489203c8d48
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Jan 04 10:12:42 2021 +0000
description:
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:
lang/rust/options.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 0844ca35968c -r 2489203c8d48 lang/rust/options.mk
--- a/lang/rust/options.mk Mon Jan 04 09:58:05 2021 +0000
+++ b/lang/rust/options.mk Mon Jan 04 10:12:42 2021 +0000
@@ -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 @@
. endif
.endif
-PKG_SUPPORTED_OPTIONS+= rust-cargo-static
+.if ${OPSYS} == "NetBSD"
PKG_SUGGESTED_OPTIONS+= rust-cargo-static
+.endif
.include "../../mk/bsd.options.mk"
Home |
Main Index |
Thread Index |
Old Index