aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-05-08 00:12:08 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-05-08 00:12:08 +0000
commitd7e1eea732c9824f9ce04d5ab66f060c0b9ec34d (patch)
tree6b1e1e45026bc594b96dd90c4a38a894b5cf7043 /Mk/bsd.port.mk
parent23be4a93da62551c59bb991792e3d83175ed40ed (diff)
downloadports-d7e1eea732c9824f9ce04d5ab66f060c0b9ec34d.tar.gz
ports-d7e1eea732c9824f9ce04d5ab66f060c0b9ec34d.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index a77befe7b451..9363117e0121 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2159,7 +2159,6 @@ 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)
@@ -2171,6 +2170,10 @@ BUILD_FAIL_MESSAGE+= "You have chosen to use multiple make jobs (parallelization
.endif
.endif
+.if empty(MAKE_JOBS_NUMBER)
+MAKE_JOBS_NUMBER= 1
+.endif
+
# ccache support
# Support NO_CCACHE for common setups, require WITH_CCACHE_BUILD, and
# don't use if ccache already set in CC