summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam>2010-08-29 05:50:19 +0000
committeradam <adam>2010-08-29 05:50:19 +0000
commite9d617e185f563e0b6348278ca061f6a2997b9a8 (patch)
tree7876e71d1a5ae90e6ebd02006f14c02310026870
parent8bab63f18209c7b992f2719cb34d414f482d99a1 (diff)
downloadpkgsrc-e9d617e185f563e0b6348278ca061f6a2997b9a8.tar.gz
Boost building Boost by making use of MAKE_JOBS
-rw-r--r--devel/boost-jam/bjam.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/boost-jam/bjam.mk b/devel/boost-jam/bjam.mk
index a8b3fb9dcd9..4b25d6d4f80 100644
--- a/devel/boost-jam/bjam.mk
+++ b/devel/boost-jam/bjam.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bjam.mk,v 1.5 2009/10/14 06:40:08 adam Exp $
+# $NetBSD: bjam.mk,v 1.6 2010/08/29 05:50:19 adam Exp $
.include "../../devel/boost-jam/buildlink3.mk"
@@ -7,6 +7,9 @@
BJAM= ${BUILDLINK_PREFIX.boost-jam}/bin/bjam
+.if !empty(MAKE_JOBS)
+BJAM_ARGS+= -j${MAKE_JOBS}
+.endif
BJAM_ARGS+= --builddir=${WRKSRC}/build
BJAM_ARGS+= --layout=system
BJAM_ARGS+= --toolset=${BOOST_TOOLSET}