summaryrefslogtreecommitdiff
path: root/x11/qt4-sqlite3
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-09-03 09:35:15 +0000
committerdrochner <drochner@pkgsrc.org>2007-09-03 09:35:15 +0000
commitd0f9c677c0a8964665d96a7f123e7aef360448f8 (patch)
treec6bbafd2cdd50ad4b7e93cebf6ec6757c52cac3a /x11/qt4-sqlite3
parent5bcb1f981eda54a3be5c1ba46c5e9ff4d9b2aec0 (diff)
downloadpkgsrc-d0f9c677c0a8964665d96a7f123e7aef360448f8.tar.gz
-make sqlite support an extra pkg instead of an option
-work around iconv(3) incompatibilities: while NetBSD's iconv() is probed as GNU iconv (due to its signature), it doesn't support empty strings as encoding (interpreted as "current locale's encoding" by GNU iconv). Enable some code which uses nl_langinfo(CODESET) to make it work as expected. -update to 4.3.1 changes: -bugfixes -Updated the German translation to provide complete coverage of Qt
Diffstat (limited to 'x11/qt4-sqlite3')
-rw-r--r--x11/qt4-sqlite3/DESCR1
-rw-r--r--x11/qt4-sqlite3/Makefile28
-rw-r--r--x11/qt4-sqlite3/PLIST3
3 files changed, 32 insertions, 0 deletions
diff --git a/x11/qt4-sqlite3/DESCR b/x11/qt4-sqlite3/DESCR
new file mode 100644
index 00000000000..bd34b63b2ae
--- /dev/null
+++ b/x11/qt4-sqlite3/DESCR
@@ -0,0 +1 @@
+QT postgresql driver
diff --git a/x11/qt4-sqlite3/Makefile b/x11/qt4-sqlite3/Makefile
new file mode 100644
index 00000000000..299e50c6d2c
--- /dev/null
+++ b/x11/qt4-sqlite3/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2007/09/03 09:35:18 drochner Exp $
+
+.include "../../x11/qt4-libs/Makefile.common"
+
+PKGNAME= qt4-sqlite3-${QTVERSION}
+COMMENT= QT sqlite3 driver
+
+CONFIGURE_ARGS+= -I${QTDIR}/include
+CONFIGURE_ARGS+= -L${QTDIR}/lib
+CONFIGURE_ARGS+= -system-sqlite
+
+BUILD_QT4= yes
+
+do-build:
+ cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE}
+ cd ${WRKSRC}/src/plugins/sqldrivers/sqlite && env ${MAKE_ENV} ${GMAKE}
+
+SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers
+
+do-install:
+ ${INSTALL_DATA_DIR} ${SQLDRVDIR}
+ ${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlite.la \
+ ${SQLDRVDIR}
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qt4-sqlite3/PLIST b/x11/qt4-sqlite3/PLIST
new file mode 100644
index 00000000000..2a56b559324
--- /dev/null
+++ b/x11/qt4-sqlite3/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2007/09/03 09:35:18 drochner Exp $
+qt4/plugins/sqldrivers/libqsqlite.la
+@unexec ${RMDIR} %D/qt4/plugins/sqldrivers 2>/dev/null || ${TRUE}