pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust rust: Force use of bundled lzma.
details: https://anonhg.NetBSD.org/pkgsrc/rev/263a6c1affee
branches: trunk
changeset: 389539:263a6c1affee
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Dec 05 21:44:58 2022 +0000
description:
rust: Force use of bundled lzma.
diffstat:
lang/rust/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r de46df00e51a -r 263a6c1affee lang/rust/Makefile
--- a/lang/rust/Makefile Mon Dec 05 15:59:02 2022 +0000
+++ b/lang/rust/Makefile Mon Dec 05 21:44:58 2022 +0000
@@ -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 @@
# 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