summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-11-25 22:02:29 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-11-25 22:02:29 +0000
commit8251fc590bb2a6db385e112612786ca0146efb9e (patch)
treea08caf100f05db7fc7cc3e8c9eae208b08054f7e /Mk
parentUpgrade to 4.16.4. (diff)
- Correct FORCE_MAKE_JOBS warning which could be incorrectly printed for
MAKE_JOBS_SAFE marked ports PR: ports/140635 Submitted by: Andrius Morkunas <hinokind@gmail.com> Tested by: pointyhat exp-run
Notes
Notes: svn path=/head/; revision=244753
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 1cf425f27098..c9a54d20eb48 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2213,7 +2213,7 @@ _MAKE_JOBS= #
.if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS)
MAKE_JOBS_NUMBER?= `${SYSCTL} -n kern.smp.cpus`
_MAKE_JOBS= -j${MAKE_JOBS_NUMBER}
-.if defined(FORCE_MAKE_JOBS)
+.if defined(FORCE_MAKE_JOBS) && !defined(MAKE_JOBS_SAFE)
BUILD_FAIL_MESSAGE+= "You have chosen to use multiple make jobs (parallelization) for all ports. This port was not tested for this setting. Please remove FORCE_MAKE_JOBS and retry the build before reporting the failure to the maintainer."
.endif
.endif