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:   he
Date:           Sun Apr  4 08:51:20 UTC 2021

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

Log Message:
Change rust-cargo-static condition on NetBSD.
Key off BUILD_TARGET instead of whether we're cross-building,
as bootstrap kits *can* be built natively (yes, the former state
was my suggestion, but on second thought this is more correct).


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 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.13 pkgsrc/lang/rust/options.mk:1.14
--- pkgsrc/lang/rust/options.mk:1.13    Wed Mar 31 16:45:08 2021
+++ pkgsrc/lang/rust/options.mk Sun Apr  4 08:51:20 2021
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.13 2021/03/31 16:45:08 nia Exp $
+# $NetBSD: options.mk,v 1.14 2021/04/04 08:51:20 he Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.rust
 PKG_SUPPORTED_OPTIONS+=        rust-cargo-static
@@ -14,11 +14,9 @@ PKG_SUGGESTED_OPTIONS+=              rust-llvm
 .  endif
 .endif
 
-.include "cross.mk"
-
 # Bundle OpenSSL and curl into the cargo binary when producing
-# bootstraps.
-.if ${OPSYS} == "NetBSD" && !empty(TARGET)
+# bootstraps on NetBSD.
+.if ${OPSYS} == "NetBSD" && ${BUILD_TARGET} == "dist"
 PKG_SUGGESTED_OPTIONS+=        rust-cargo-static
 .endif
 



Home | Main Index | Thread Index | Old Index