pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust: mirror change from lang/rust: use bundled lzma.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Wed Dec 7 13:08:59 2022 +0000
Changeset: c61b656dabd0fdc3e62671b8e563bb2af3381aa8
Modified Files:
rust/Makefile
Log Message:
rust: mirror change from lang/rust: use bundled lzma.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c61b656dabd0fdc3e62671b8e563bb2af3381aa8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust/Makefile | 3 +++
1 file changed, 3 insertions(+)
diffs:
diff --git a/rust/Makefile b/rust/Makefile
index c29b815937..cb3c150b71 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -64,6 +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.
+MAKE_ENV+= LZMA_API_STATIC=1
+
# MacOS X 10.7 is the oldest supported version. See
# ${WRKSRC}/src/bootstrap/lib.rs
MAKE_ENV.Darwin+= MACOSX_DEPLOYMENT_TARGET="10.7"
Home |
Main Index |
Thread Index |
Old Index