From owner-svn-ports-branches@freebsd.org Thu Mar 9 18:56:14 2017 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0353AD05DE0; Thu, 9 Mar 2017 18:56:14 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C430112BF; Thu, 9 Mar 2017 18:56:13 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v29IuCGI000955; Thu, 9 Mar 2017 18:56:12 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v29IuCbb000954; Thu, 9 Mar 2017 18:56:12 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201703091856.v29IuCbb000954@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Thu, 9 Mar 2017 18:56:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r435783 - branches/2017Q1/databases/libmemcached X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2017 18:56:14 -0000 Author: bdrewery Date: Thu Mar 9 18:56:12 2017 New Revision: 435783 URL: https://svnweb.freebsd.org/changeset/ports/435783 Log: MFH: r435782 Fix MAKE_JOBS support. - This port uses ax_am_jobserver [1] which uses CPU_COUNT from ax_count_cpus [2] to force -j to match the number of CPUs in the system rather than the amount already specified by -j to 'gmake all'. The ax_count_cpus script is broken on FreeBSD and the ax_am_jobserver code has no current support for FreeBSD and uses a bashism, thus this always builds with 1 CPU. Forcing ax_am_jobserver to use our MAKE_JOBS_NUMBER value fixes the problem. I plan to do an exp-run to fix this for the entire tree. [1] https://www.gnu.org/software/autoconf-archive/ax_am_jobserver.html [2] https://www.gnu.org/software/autoconf-archive/ax_count_cpus.html Approved by: portmgr (implicit) Modified: branches/2017Q1/databases/libmemcached/Makefile Directory Properties: branches/2017Q1/ (props changed) Modified: branches/2017Q1/databases/libmemcached/Makefile ============================================================================== --- branches/2017Q1/databases/libmemcached/Makefile Thu Mar 9 18:52:18 2017 (r435782) +++ branches/2017Q1/databases/libmemcached/Makefile Thu Mar 9 18:56:12 2017 (r435783) @@ -21,6 +21,7 @@ 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