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: tnn
Date: Thu Jul 22 16:09:46 UTC 2021
Modified Files:
pkgsrc/lang/rust: cargo.mk
Log Message:
rust/cargo.mk: always pass RUSTFLAGS into MAKE_ENV
This will allow to clean up a number of package Makefiles.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/lang/rust/cargo.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/cargo.mk
diff -u pkgsrc/lang/rust/cargo.mk:1.26 pkgsrc/lang/rust/cargo.mk:1.27
--- pkgsrc/lang/rust/cargo.mk:1.26 Mon May 31 14:33:02 2021
+++ pkgsrc/lang/rust/cargo.mk Thu Jul 22 16:09:46 2021
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.26 2021/05/31 14:33:02 ryoon Exp $
+# $NetBSD: cargo.mk,v 1.27 2021/07/22 16:09:46 tnn Exp $
#
# Common logic that can be used by packages that depend on cargo crates
# from crates.io. This lets existing pkgsrc infrastructure fetch and verify
@@ -74,6 +74,8 @@ DEFAULT_CARGO_ARGS= build --offline --re
${CARGO_FEATURES:S/ /,/Wg}
CARGO_ARGS?= ${DEFAULT_CARGO_ARGS}
+MAKE_ENV+= RUSTFLAGS=${RUSTFLAGS:Q}
+
.if !target(do-build)
do-build: do-cargo-build
.endif
Home |
Main Index |
Thread Index |
Old Index