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 Dec 5 21:44:58 UTC 2022
Modified Files:
pkgsrc/lang/rust: Makefile
Log Message:
rust: Force use of bundled lzma.
To generate a diff of this commit:
cvs rdiff -u -r1.274 -r1.275 pkgsrc/lang/rust/Makefile
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/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.274 pkgsrc/lang/rust/Makefile:1.275
--- pkgsrc/lang/rust/Makefile:1.274 Wed Nov 16 08:36:34 2022
+++ pkgsrc/lang/rust/Makefile Mon Dec 5 21:44:58 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.274 2022/11/16 08:36:34 wiz Exp $
+# $NetBSD: Makefile,v 1.275 2022/12/05 21:44:58 jperkin Exp $
DISTNAME= rustc-1.64.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -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