pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/build



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Feb 18 16:10:38 UTC 2020

Modified Files:
        pkgsrc/mk/build: build.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/mk/build/build.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/build/build.mk
diff -u pkgsrc/mk/build/build.mk:1.30 pkgsrc/mk/build/build.mk:1.31
--- pkgsrc/mk/build/build.mk:1.30       Sun Jan 19 18:20:46 2020
+++ pkgsrc/mk/build/build.mk    Tue Feb 18 16:10:37 2020
@@ -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 @@ _MAKE_JOBS_N= ${MAKE_JOBS.${PKGPATH}}
 .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