diff options
author | adam <adam@pkgsrc.org> | 2012-11-08 07:28:12 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2012-11-08 07:28:12 +0000 |
commit | 3b74aaaaf8e020d2c66074490d9b6716e3fd6778 (patch) | |
tree | e09b552d6d29e31e0b555d8177e6371471fdb2de /multimedia | |
parent | 514cfba4cb1b57d10592c97163d44785f6a0d007 (diff) | |
download | pkgsrc-3b74aaaaf8e020d2c66074490d9b6716e3fd6778.tar.gz |
Speed building up by using MAKE_JOBS
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mkvtoolnix/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile index 745283e6cd5..8edeffa1347 100644 --- a/multimedia/mkvtoolnix/Makefile +++ b/multimedia/mkvtoolnix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2012/10/08 23:02:11 adam Exp $ +# $NetBSD: Makefile,v 1.53 2012/11/08 07:28:12 adam Exp $ DISTNAME= mkvtoolnix-5.0.1 PKGREVISION= 6 @@ -24,16 +24,22 @@ LDFLAGS.DragonFly= -lboost_system INSTALL_ENV+= SHELL=${SH:Q} +.include "../../mk/bsd.prefs.mk" + +.if !empty(MAKE_JOBS) +DRAKE_ARGS= -j${MAKE_JOBS} +.else +DRAKE_ARGS= # empty +.endif + do-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ruby drake + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ruby drake ${DRAKE_ARGS} do-install: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ruby drake install .include "options.mk" -.include "../../mk/bsd.prefs.mk" - .if ${OPSYS} != "Darwin" BUILDLINK_DEPMETHOD.${RUBY_BASE}= build .include "../../lang/ruby/buildlink3.mk" |