pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtbase exactly check for the case MAKE_JOBS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2d0975f268e
branches:  trunk
changeset: 627912:c2d0975f268e
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Dec 20 02:36:10 2013 +0000

description:
exactly check for the case MAKE_JOBS.
fixes for old bmake behavior in netbsd5 and missing MAKE_JOBS.

diffstat:

 x11/qt5-qtbase/Makefile.common |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r ad2469cd22c0 -r c2d0975f268e x11/qt5-qtbase/Makefile.common
--- a/x11/qt5-qtbase/Makefile.common    Thu Dec 19 23:50:29 2013 +0000
+++ b/x11/qt5-qtbase/Makefile.common    Fri Dec 20 02:36:10 2013 +0000
@@ -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 @@
 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*}



Home | Main Index | Thread Index | Old Index