pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mkvtoolnix Speed building up by using MAKE_...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a8e8e777658d
branches: trunk
changeset: 610844:a8e8e777658d
user: adam <adam%pkgsrc.org@localhost>
date: Thu Nov 08 07:28:12 2012 +0000
description:
Speed building up by using MAKE_JOBS
diffstat:
multimedia/mkvtoolnix/Makefile | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 07f2dab72fec -r a8e8e777658d multimedia/mkvtoolnix/Makefile
--- a/multimedia/mkvtoolnix/Makefile Thu Nov 08 07:18:25 2012 +0000
+++ b/multimedia/mkvtoolnix/Makefile Thu Nov 08 07:28:12 2012 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index