Fix MAKE_FORCE_JOBS
This commit is contained in:
parent
10c420eb57
commit
71aec7fcbd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322391
4 changed files with 6 additions and 6 deletions
|
@ -25,7 +25,7 @@ do-build:
|
|||
@set -e ; (cd ${BUILD_WRKSRC}; if ! ${SETENV} ${MAKE_ENV} ${FMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}; then \
|
||||
if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \
|
||||
${ECHO_MSG} "===> Compilation failed unexpectedly."; \
|
||||
(${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
|
||||
(${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \
|
||||
fi; \
|
||||
${FALSE}; \
|
||||
fi)
|
||||
|
|
|
@ -28,7 +28,7 @@ do-build:
|
|||
@(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}; then \
|
||||
if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \
|
||||
${ECHO_MSG} "===> Compilation failed unexpectedly."; \
|
||||
(${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
|
||||
(${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \
|
||||
fi; \
|
||||
${FALSE}; \
|
||||
fi)
|
||||
|
|
|
@ -2178,7 +2178,7 @@ _MAKE_JOBS= #
|
|||
MAKE_JOBS_NUMBER?= `${SYSCTL} -n kern.smp.cpus`
|
||||
_MAKE_JOBS?= -j${MAKE_JOBS_NUMBER}
|
||||
.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."
|
||||
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
|
||||
.endif
|
||||
|
@ -3711,7 +3711,7 @@ do-build:
|
|||
@(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}; then \
|
||||
if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \
|
||||
${ECHO_MSG} "===> Compilation failed unexpectedly."; \
|
||||
(${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
|
||||
(${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \
|
||||
fi; \
|
||||
${FALSE}; \
|
||||
fi)
|
||||
|
|
|
@ -473,9 +473,9 @@ do-extract:
|
|||
|
||||
do-build:
|
||||
@(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} build --force ${GEMFILES}spec ; then \
|
||||
if [ x != x${BUILD_FAIL_MESSAGE} ] ; then \
|
||||
if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \
|
||||
${ECHO_MSG} "===> Compilation failed unexpectedly."; \
|
||||
(${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
|
||||
(${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \
|
||||
fi; \
|
||||
${FALSE}; \
|
||||
fi)
|
||||
|
|
Loading…
Reference in a new issue