aboutsummaryrefslogtreecommitdiff
path: root/devel/qmake
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2007-08-22 16:43:56 +0000
committerMikhail Teterin <mi@FreeBSD.org>2007-08-22 16:43:56 +0000
commit6b565f05f63c741576eee5a010102c5a0010faf6 (patch)
tree52be1817e62f889c99265a47b02fe4b42b3660f3 /devel/qmake
parent696dd4a134c1c7ed796420c5128ff046f02ff1ca (diff)
downloadports-6b565f05f63c741576eee5a010102c5a0010faf6.tar.gz
ports-6b565f05f63c741576eee5a010102c5a0010faf6.zip
Use make's `-j' flag to build (but not install) on all available CPUs.
Tested on a four CPU system. The same trick may/should be used when building other large ports (Qt, KDE components)...
Notes
Notes: svn path=/head/; revision=198140
Diffstat (limited to 'devel/qmake')
-rw-r--r--devel/qmake/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/qmake/Makefile b/devel/qmake/Makefile
index 54fa4dbbea7b..6336dcd36112 100644
--- a/devel/qmake/Makefile
+++ b/devel/qmake/Makefile
@@ -19,7 +19,7 @@ COMMENT= The build utility of the Qt project
REINPLACE_ARGS= -i ""
WRKSRC= ${WRKDIR}/${DISTNAME}/qmake
MAKEFILE= ${FILESDIR}/Makefile.bsd
-#MAKE_ARGS+= -j2
+ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
PLIST_SUB+= _PREFIX="${PREFIX}"
MAKE_ENV+= FILESDIR="${FILESDIR}"