pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Jan  4 10:12:42 UTC 2021

Modified Files:
        pkgsrc/lang/rust: options.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/rust/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/rust/options.mk
diff -u pkgsrc/lang/rust/options.mk:1.8 pkgsrc/lang/rust/options.mk:1.9
--- pkgsrc/lang/rust/options.mk:1.8     Fri Jan  1 20:44:48 2021
+++ pkgsrc/lang/rust/options.mk Mon Jan  4 10:12:42 2021
@@ -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"
 



Home | Main Index | Thread Index | Old Index