pkgsrc-WIP-changes archive

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

rust: same magic with xz as in base



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Tue Dec 20 10:36:24 2022 +0100
Changeset:	4e8a0db4b891e6a39747c5d025646fb73ef0d09a

Modified Files:
	rust/Makefile

Log Message:
rust: same magic with xz as in base

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4e8a0db4b891e6a39747c5d025646fb73ef0d09a

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

diffstat:
 rust/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/rust/Makefile b/rust/Makefile
index cb3c150b71..3ec0a380b3 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -64,7 +64,9 @@ CONFIGURE_ARGS+=	--enable-vendor
 # cargo defaults to using the number of available CPUs
 MAKE_ENV+=		CARGO_BUILD_JOBS=${_MAKE_JOBS_N}
 
-# Ensure we use a bundled lzma rather than relying on finding one.
+# Ensure we use a bundled lzma rather than relying on finding one, and avoid
+# xz being buildlinked if it's pulled in via dependencies.
+BUILDLINK_FILES_CMD.xz=	${TRUE}
 MAKE_ENV+=		LZMA_API_STATIC=1
 
 # MacOS X 10.7 is the oldest supported version. See


Home | Main Index | Thread Index | Old Index