Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2017 17:47:17 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436097 - in head: Mk databases/libmemcached
Message-ID:  <201703131747.v2DHlHQS067287@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Mar 13 17:47:17 2017
New Revision: 436097
URL: https://svnweb.freebsd.org/changeset/ports/436097

Log:
  GNU_CONFIGURE: Fix ax_am_jobserver usage to respect MAKE_JOBS_NUMBER.
  
  PR:		217670 [exp-run]
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk
  head/databases/libmemcached/Makefile

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Mar 13 17:44:11 2017	(r436096)
+++ head/Mk/bsd.port.mk	Mon Mar 13 17:47:17 2017	(r436097)
@@ -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 ; \

Modified: head/databases/libmemcached/Makefile
==============================================================================
--- head/databases/libmemcached/Makefile	Mon Mar 13 17:44:11 2017	(r436096)
+++ head/databases/libmemcached/Makefile	Mon Mar 13 17:47:17 2017	(r436097)
@@ -21,7 +21,6 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-memcached \
 		--without-sphinx-build \
-		--enable-jobserver=${MAKE_JOBS_NUMBER} \
 		--enable-libmemcachedprotocol
 
 LIBS+=		-L${LOCALBASE}/lib -lexecinfo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703131747.v2DHlHQS067287>