- 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
This commit is contained in:
Pav Lucistnik 2009-11-25 22:02:29 +00:00
parent 7c7d925e91
commit 8251fc590b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244753

View File

@ -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