aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-04-10 13:45:15 +0800
committerantoine <antoine@FreeBSD.org>2015-04-10 13:45:15 +0800
commit19ce62b0063882bf7390c2edbcbea3114681fce0 (patch)
treeb867a314a066544323913472a439defe757d1b09 /Mk/Uses
parent9c714c3e8913b1f63fb042e9a3541607de36fdca (diff)
downloadfreebsd-ports-gnome-19ce62b0063882bf7390c2edbcbea3114681fce0.tar.gz
freebsd-ports-gnome-19ce62b0063882bf7390c2edbcbea3114681fce0.tar.zst
freebsd-ports-gnome-19ce62b0063882bf7390c2edbcbea3114681fce0.zip
- Make it possible to override _MAKE_JOBS when MAKE_JOBS_NUMBER=1
- Override it for USES=ninja With this commit and r383571, ports using ninja and waf now respect MAKE_JOBS_NUMBER when it's equal to 1 PR: 197910 With hat: portmgr
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/ninja.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Uses/ninja.mk b/Mk/Uses/ninja.mk
index 3e7c6186e033..42859684f78f 100644
--- a/Mk/Uses/ninja.mk
+++ b/Mk/Uses/ninja.mk
@@ -27,6 +27,8 @@ CMAKE_ARGS+= -GNinja
MAKEFILE=
MAKE_CMD= ninja
MAKE_FLAGS=
+# Set a minimal job of 1
+_MAKE_JOBS= -j${MAKE_JOBS_NUMBER}
_DESTDIR_VIA_ENV= yes
.endif