summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/qt5-odbc/Makefile11
-rw-r--r--x11/qt5-odbc/PLIST4
-rw-r--r--x11/qt5-odbc/distinfo10
3 files changed, 14 insertions, 11 deletions
diff --git a/x11/qt5-odbc/Makefile b/x11/qt5-odbc/Makefile
index 8f4d9913178..37fbf23d54f 100644
--- a/x11/qt5-odbc/Makefile
+++ b/x11/qt5-odbc/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2017/11/30 16:45:12 adam Exp $
+# $NetBSD: Makefile,v 1.24 2018/01/18 09:06:59 markd Exp $
-DISTNAME= qtbase-opensource-src-${QTVERSION}
+DISTNAME= qtbase-everywhere-src-${QTVERSION}
PKGNAME= qt5-odbc-${QTVERSION}
-PKGREVISION= 9
COMMENT= Qt5 odbc plugin
BUILD_DIRS= src/plugins/sqldrivers
@@ -16,7 +15,11 @@ LIBS+= -lltdl
do-configure:
${RM} -f -r ${WRKSRC}/mkspecs
cd ${WRKSRC}/${BUILD_DIRS} && \
- ${QTDIR}/bin/qmake "sql-plugins=odbc" -o Makefile
+ ${QTDIR}/bin/qmake -o Makefile "QT.sql.enabled_features+=sql-odbc" "QMAKE_LIBS_ODBC=-lodbc"
+
+post-install:
+ rm -f ${DESTDIR}${PREFIX}/qt5/lib/cmake/Qt5Sql/Qt5Sql_QSQLiteDriverPlugin.cmake
+ rm -f ${DESTDIR}${PREFIX}/qt5/plugins/sqldrivers/libqsqlite.*
.include "../../devel/libltdl/buildlink3.mk"
.include "../../databases/unixodbc/buildlink3.mk"
diff --git a/x11/qt5-odbc/PLIST b/x11/qt5-odbc/PLIST
index fc736dfcdc1..6670694759f 100644
--- a/x11/qt5-odbc/PLIST
+++ b/x11/qt5-odbc/PLIST
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2014/12/25 13:51:13 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/01/18 09:06:59 markd Exp $
qt5/lib/cmake/Qt5Sql/Qt5Sql_QODBCDriverPlugin.cmake
-qt5/plugins/sqldrivers/libqsqlodbc.la
+qt5/plugins/sqldrivers/libqsqlodbc.so
diff --git a/x11/qt5-odbc/distinfo b/x11/qt5-odbc/distinfo
index 03c742d4010..3da88e3944a 100644
--- a/x11/qt5-odbc/distinfo
+++ b/x11/qt5-odbc/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/10/26 19:03:59 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/01/18 09:06:59 markd Exp $
-SHA1 (qtbase-opensource-src-5.5.1.tar.xz) = 0b651543fa013ae151b7a11f0d0dee092050aa3f
-RMD160 (qtbase-opensource-src-5.5.1.tar.xz) = ce4bccd0703aaf8d904fbecd1f334ef13d698a44
-SHA512 (qtbase-opensource-src-5.5.1.tar.xz) = 4d31de136870025dfb7544f255798884af1ad4f3060b0c00a0467c98af1f7de368eb298d4c52ba6d1ad27e36060b30c0314ce7ba0744b15642420ec89587a575
-Size (qtbase-opensource-src-5.5.1.tar.xz) = 46389212 bytes
+SHA1 (qtbase-everywhere-src-5.10.0.tar.xz) = 34fa3d4e7bb2b1545247a616190efaf74804db49
+RMD160 (qtbase-everywhere-src-5.10.0.tar.xz) = d6f9ab8526ebe50791b9b948930806dc8b3be73b
+SHA512 (qtbase-everywhere-src-5.10.0.tar.xz) = 8f832fb7bc5087df4b897cd23145e5350f03ca06e2fc5ccb11a7b998e4885c1b936c3e4b989c15fc076134a6a081a35efa37f402b5e8b85e2c780006641b2cdc
+Size (qtbase-everywhere-src-5.10.0.tar.xz) = 45851596 bytes