diff options
author | obache <obache> | 2013-12-20 02:36:10 +0000 |
---|---|---|
committer | obache <obache> | 2013-12-20 02:36:10 +0000 |
commit | 4e27b6392f17676cd67ac978b158c9f6063bf712 (patch) | |
tree | dabac85f792f6f870250a71aa73d3f12431c3d60 /x11/qt5-qtbase | |
parent | 71a0a236ef6bb3ec6096e694b9dc10fbb546537e (diff) | |
download | pkgsrc-4e27b6392f17676cd67ac978b158c9f6063bf712.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.common | 6 |
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*} |