d0f9c677c0
-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
28 lines
775 B
Makefile
28 lines
775 B
Makefile
# $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"
|