pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust As discussed on IRC, use the same environmen...
details: https://anonhg.NetBSD.org/pkgsrc/rev/29dabc287734
branches: trunk
changeset: 427768:29dabc287734
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Apr 20 13:22:31 2020 +0000
description:
As discussed on IRC, use the same environment for build and install.
This avoids cargo deciding to rebuild most packages just because it now
knows the DESTDIR.
diffstat:
lang/rust/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r af39497c52b6 -r 29dabc287734 lang/rust/Makefile
--- a/lang/rust/Makefile Mon Apr 20 13:20:20 2020 +0000
+++ b/lang/rust/Makefile Mon Apr 20 13:22:31 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.159 2020/03/26 20:05:29 rillig Exp $
+# $NetBSD: Makefile,v 1.160 2020/04/20 13:22:31 joerg Exp $
DISTNAME= rustc-1.42.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -360,12 +360,12 @@
do-build:
cd ${WRKSRC} \
- && ${_ULIMIT_CMD} ${SETENV} ${MAKE_ENV} \
+ && ${_ULIMIT_CMD} ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
${PYTHONBIN} ./x.py -v ${BUILD_TARGET} -j ${_MAKE_JOBS_N}
do-install:
cd ${WRKSRC} \
- && ${_ULIMIT_CMD} ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} \
+ && ${_ULIMIT_CMD} ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
${PYTHONBIN} ./x.py -v install -j ${_MAKE_JOBS_N}
GENERATE_PLIST+= find ${DESTDIR}${PREFIX} \( -type f -o -type l \) -print | \
Home |
Main Index |
Thread Index |
Old Index