summaryrefslogtreecommitdiff
path: root/x11/qt5-qtbase
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-12-20 02:36:10 +0000
committerobache <obache@pkgsrc.org>2013-12-20 02:36:10 +0000
commit70acfc2e493a2b140fa03361f873ab53db4bbc2f (patch)
treedabac85f792f6f870250a71aa73d3f12431c3d60 /x11/qt5-qtbase
parent1b1f8a88b292c991dfa73ae4b17ada88ef030d7c (diff)
downloadpkgsrc-70acfc2e493a2b140fa03361f873ab53db4bbc2f.tar.gz
exactly check for the case MAKE_JOBS.
fixes for old bmake behavior in netbsd5 and missing MAKE_JOBS.
Diffstat (limited to 'x11/qt5-qtbase')
-rw-r--r--x11/qt5-qtbase/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/qt5-qtbase/Makefile.common b/x11/qt5-qtbase/Makefile.common
index 45b9d3eca59..889c75b0942 100644
--- a/x11/qt5-qtbase/Makefile.common
+++ b/x11/qt5-qtbase/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2013/12/15 09:42:44 ryoon Exp $
+# $NetBSD: Makefile.common,v 1.3 2013/12/20 02:36:10 obache Exp $
# used by x11/qt5-dbus/Makefile
# used by x11/qt5-mysql/Makefile
# used by x11/qt5-odbc/Makefile
@@ -35,9 +35,11 @@ DISTINFO_FILE= ${.CURDIR}/../../x11/qt5-qtbase/distinfo
FILESDIR= ${.CURDIR}/../../x11/qt5-qtbase/files
PATCHDIR= ${.CURDIR}/../../x11/qt5-qtbase/patches
-.if empty(MAKE_JOBS_SAFE:M[nN][oO])
+.if defined(MAKE_JOBS)
+.if !defined(MAKE_JOBS_SAFE) || empty(MAKE_JOBS_SAFE:M[nN][oO])
CONFIGURE_ENV+= MAKE_FLAGS=-j${MAKE_JOBS:Q}
.endif
+.endif
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}