summaryrefslogtreecommitdiff
path: root/x11/qt5-sqlite3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qt5-sqlite3/Makefile')
-rw-r--r--x11/qt5-sqlite3/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11/qt5-sqlite3/Makefile b/x11/qt5-sqlite3/Makefile
index c4d47649ec7..b006af4251c 100644
--- a/x11/qt5-sqlite3/Makefile
+++ b/x11/qt5-sqlite3/Makefile
@@ -1,13 +1,10 @@
-# $NetBSD: Makefile,v 1.8 2014/12/25 13:51:15 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2014/12/30 17:23:48 adam Exp $
+DISTNAME= qtbase-opensource-src-${QTVERSION}
PKGNAME= qt5-sqlite3-${QTVERSION}
-PKGREVISION= 1
COMMENT= Qt5 SQLite3 plugin
-USE_LIBTOOL= yes
-CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
-
-BUILD_DIRS= qtbase/src/plugins/sqldrivers
+BUILD_DIRS= src/plugins/sqldrivers
MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
@@ -16,10 +13,10 @@ CFLAGS.SunOS+= -D__EXTENSIONS__ # posix_fallocate()
.include "../../x11/qt5-qtbase/Makefile.common"
-post-configure:
+do-configure:
+ ${RM} -f -r ${WRKSRC}/mkspecs
cd ${WRKSRC}/${BUILD_DIRS} && \
- ${QTDIR}/bin/qmake "sql-plugins=sqlite" -o Makefile
-
+ ${QTDIR}/bin/qmake "sql-plugins=sqlite" -o Makefile
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"