ports/133054: [patch] devel/boost: mark as MAKE_JOBS_SAFE
Anonymous
swell.k at gmail.com
Wed Mar 25 09:40:02 UTC 2009
>Number: 133054
>Category: ports
>Synopsis: [patch] devel/boost: mark as MAKE_JOBS_SAFE
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 25 09:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD luffy 8.0-CURRENT FreeBSD 8.0-CURRENT #4 r190403M: Wed Mar 25 08:40:18 UTC 2009 root at luffy:/usr/obj/usr/src/sys/PHOENIX amd64
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (3216.23-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
devel/ccache installed and used
$ make showconfig
===> The following configuration options are available for boost-python-1.34.1:
VERBOSE_BUILD=off "Show compiler messages"
DEBUG=off "Build debugging symbols"
THREADS=on "Thread support"
ICU=on "Boost.Regex with ICU unicode support"
OPTIMIZED_CFLAGS=on "Enable -O3 optimization"
WITH_PYTHON defined
WITH_PYSTE defined
tested without python/pyste, too
>Description:
Utilize more horsepower by building the port using several instances
of GCC on SMP boxes.
>How-To-Repeat:
Apply attached patch and run
$ make MAKE_JOBS_NUMBER=8
>Fix:
Use feature introduced by recent commit to Mk/bsd.port.mk
http://docs.FreeBSD.org/cgi/mid.cgi?200903221028.n2MASrjk002315
http://docs.FreeBSD.org/cgi/mid.cgi?1237901632.1849.19.camel
--- mark.diff begins here ---
Index: devel/boost/Makefile
===================================================================
RCS file: /home/csup/ports/devel/boost/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- devel/boost/Makefile 20 Feb 2009 01:13:49 -0000 1.42
+++ devel/boost/Makefile 25 Mar 2009 08:58:48 -0000
@@ -17,6 +17,7 @@ COMMENT= Free peer-reviewed portable C++
USE_BZIP2= yes
USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/g}
.if defined(WITH_PYTHON) || defined (WITH_PYSTE)
@@ -87,6 +88,7 @@ PLIST_SUB+= BOOST_PYSTE="@comment "
BOOST_TOOLS= gcc
BJAM_OPTIONS= --layout=system
+BJAM_OPTIONS+= ${_MAKE_JOBS}
.if defined (WITH_VERBOSE_BUILD)
BJAM_OPTIONS+= -d2
.endif
--- mark.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list