aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-05-04 22:06:08 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-05-04 22:06:08 +0800
commit35ddad36f95eb05fff30ddca8e990b9ceb35bc36 (patch)
tree20dbde6d95ce50dde89bcaeaaee0c6c3ee84e6b1 /Mk
parent2302daa10661f7f25a58145b891e143c373b065b (diff)
downloadfreebsd-ports-graphics-35ddad36f95eb05fff30ddca8e990b9ceb35bc36.tar.gz
freebsd-ports-graphics-35ddad36f95eb05fff30ddca8e990b9ceb35bc36.tar.zst
freebsd-ports-graphics-35ddad36f95eb05fff30ddca8e990b9ceb35bc36.zip
- When DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE is set, also set
MAKE_JOBS_NUMBER to 1. This makes it safe to do -j${MAKE_JOBS_NUMBER} without any extra logic. - Cleanup ports working around the empty MAKE_JOBS_NUMBER - This also fixes several ports that were expecting MAKE_JOBS_NUMBER to always have a number Reviewed by: bapt Spotted by: John Marino <draco@marino.st> With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 32d47f67444..14b985ed9f6 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2189,6 +2189,7 @@ CFLAGS:= ${CFLAGS:N-std=*} -std=${USE_CSTD}
# Multiple make jobs support
.if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE)
+MAKE_JOBS_NUMBER= 1
_MAKE_JOBS= #
.else
.if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS)