pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/build Make sure _MAKE_JOBS_N has a valid value even...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/433767a5a515
branches:  trunk
changeset: 411686:433767a5a515
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Feb 18 16:10:37 2020 +0000

description:
Make sure _MAKE_JOBS_N has a valid value even if MAKE_JOBS is unset.

diffstat:

 mk/build/build.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 8a00bf435427 -r 433767a5a515 mk/build/build.mk
--- a/mk/build/build.mk Tue Feb 18 16:00:22 2020 +0000
+++ b/mk/build/build.mk Tue Feb 18 16:10:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.30 2020/01/19 18:20:46 maya Exp $
+# $NetBSD: build.mk,v 1.31 2020/02/18 16:10:37 maya Exp $
 #
 # This file defines what happens in the build phase, excluding the
 # self-test, which is defined in test.mk.
@@ -63,6 +63,8 @@
 .elif defined(MAKE_JOBS)
 _MAKE_JOBS=    -j${MAKE_JOBS}
 _MAKE_JOBS_N=  ${MAKE_JOBS}
+.else
+_MAKE_JOBS_N=  1
 .endif
 
 ######################################################################



Home | Main Index | Thread Index | Old Index