pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: set MAKE_JOBS_SAFE=no only if BATCH, i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3eac707ef832
branches:  trunk
changeset: 424616:3eac707ef832
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Mar 12 22:16:44 2020 +0000

description:
rust: set MAKE_JOBS_SAFE=no only if BATCH, i.e. if building inside pbulk

It was added so that we have a non-zero change of getting binary packages
in the bulk build. I have a sneaking suspicion that most interactive users
of pkgsrc comment this line out.
Waiting a whole day for rust to build is not acceptable.

diffstat:

 lang/rust/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 96bac9d62afe -r 3eac707ef832 lang/rust/Makefile
--- a/lang/rust/Makefile        Thu Mar 12 20:50:30 2020 +0000
+++ b/lang/rust/Makefile        Thu Mar 12 22:16:44 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.152 2020/03/12 20:33:53 tnn Exp $
+# $NetBSD: Makefile,v 1.153 2020/03/12 22:16:44 tnn Exp $
 
 DISTNAME=      rustc-1.41.1-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -131,7 +131,7 @@
 .endif
 
 # toolchain/54192, induces rtld issues
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" && defined(BATCH)
 MAKE_JOBS_SAFE=        no
 .endif
 



Home | Main Index | Thread Index | Old Index