summaryrefslogtreecommitdiff
path: root/x11/qt5-qtbase
diff options
context:
space:
mode:
authorobache <obache>2013-12-21 08:59:41 +0000
committerobache <obache>2013-12-21 08:59:41 +0000
commitcb7b895d1905f933a2f4ad98785cf2ff3cd39d46 (patch)
tree72607df389d351471e0dd9f477b5118f6569aec4 /x11/qt5-qtbase
parent76f1bdbf7a92441a3c7a15e292d76d54bfc7ae3f (diff)
downloadpkgsrc-cb7b895d1905f933a2f4ad98785cf2ff3cd39d46.tar.gz
Use PKGPATH instead of PKGNAME for check current package, because later variable
may not be defined yet and broken with old bmake in netbsd5.
Diffstat (limited to 'x11/qt5-qtbase')
-rw-r--r--x11/qt5-qtbase/Makefile.common10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11/qt5-qtbase/Makefile.common b/x11/qt5-qtbase/Makefile.common
index 889c75b0942..0bb427fbb77 100644
--- a/x11/qt5-qtbase/Makefile.common
+++ b/x11/qt5-qtbase/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2013/12/20 02:36:10 obache Exp $
+# $NetBSD: Makefile.common,v 1.4 2013/12/21 08:59:41 obache Exp $
# used by x11/qt5-dbus/Makefile
# used by x11/qt5-mysql/Makefile
# used by x11/qt5-odbc/Makefile
@@ -176,15 +176,15 @@ no-qmake-build:
${LN} -sf ${QTPREFIX}/bin/rcc ${WRKSRC}/qtbase/bin/rcc
${LN} -sf ${QTPREFIX}/bin/uic ${WRKSRC}/qtbase/bin/uic
-.if empty(PKGNAME:Mqt5-qtbase*)
+.if empty(PKGPATH:Mx11/qt5-qtbase)
pre-configure: remove-3rdparty-libs set-qmake-conf no-qmake-build
.else
pre-configure: remove-3rdparty-libs set-qmake-conf
.endif
-.if empty(PKGNAME:Mqt5-qtbase*) && empty(PKGNAME:Mqt5-sqlite3*) \
- && empty(PKGNAME:Mqt5-mysql*) && empty(PKGNAME:Mqt5-psql*) \
- && empty(PKGNAME:Mqt5-odbc*)
+.if empty(PKGPATH:Mx11/qt5-qtbase) && empty(PKGPATH:Mx11/qt5-sqlite3) \
+ && empty(PKGPATH:Mx11/qt5-mysql) && empty(PKGPATH:Mx11/qt5-psql) \
+ && empty(PKGPATH:Mx11/Mqt5-odbc)
post-configure:
cd ${WRKSRC}/${BUILD_DIRS} && ${QTPREFIX}/bin/qmake -o Makefile
.endif