aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2017-03-14 01:47:17 +0800
committerbdrewery <bdrewery@FreeBSD.org>2017-03-14 01:47:17 +0800
commitc1d0fd006d788e93fc22019bcb01aafda135e143 (patch)
tree5a4b6caddff1e6e019ae78778889a207a995836e /Mk/bsd.port.mk
parent26e648bbf5de016a80d58a302dea7c8992084b1e (diff)
downloadfreebsd-ports-gnome-c1d0fd006d788e93fc22019bcb01aafda135e143.tar.gz
freebsd-ports-gnome-c1d0fd006d788e93fc22019bcb01aafda135e143.tar.zst
freebsd-ports-gnome-c1d0fd006d788e93fc22019bcb01aafda135e143.zip
GNU_CONFIGURE: Fix ax_am_jobserver usage to respect MAKE_JOBS_NUMBER.
PR: 217670 [exp-run] With hat: portmgr
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 238dcdee8492..7394a52ecb9e 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2560,6 +2560,9 @@ SET_LATE_CONFIGURE_ARGS= \
if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--disable-silent-rules'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --disable-silent-rules" ; \
fi ; \
+ if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--enable-jobserver\[.*\#\]'`" ]; then \
+ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --enable-jobserver=${MAKE_JOBS_NUMBER}" ; \
+ fi ; \
if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${GNU_CONFIGURE_PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \
fi ; \