pkgsrc/x11/qt4-pgsql/Makefile
wiz 15597e7da4 Update qt4 packages to 4.8.6.
Qt 4.8.6 provides overall over 200 improvements and bug fixes, for
example:

    Security Fix for XML Entity Expansion Denial of Service (the
    "Billion Laughs" attack)
    Better support for Mac OS X 10.9 Mavericks
    Many customer requested bug fixes, for example QTBUG-15116,
    QTBUG-21371, QTBUG-8990, QTBUG-28601, QTBUG-20946, QTBUG-30276,
    QTBUG-29572 and QTBUG-13237 (just to name a few)
    MinGW binary packages are now built with MinGW-w64 based
    toolchain with gcc 4.8.2
    Basque translation added and many other translations improved
2014-07-22 17:01:51 +00:00

29 lines
875 B
Makefile

# $NetBSD: Makefile,v 1.45 2014/07/22 17:01:52 wiz Exp $
.include "../../x11/qt4-libs/Makefile.common"
PKGNAME= qt4-pgsql-${QTVERSION}
COMMENT= QT postgresql driver
CONFIGURE_ARGS+= -I${QTDIR}/include
CONFIGURE_ARGS+= -I${PGSQL_PREFIX}/include/postgresql/server
CONFIGURE_ARGS+= -L${QTDIR}/lib
BUILD_QT4= yes
do-build:
cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE}
cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE}
cd ${WRKSRC}/src/plugins/sqldrivers/psql && env ${MAKE_ENV} ${GMAKE}
SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers
INSTALLATION_DIRS= ${SQLDRVDIR}
do-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/plugins/sqldrivers/libqsqlpsql.la \
${DESTDIR}${SQLDRVDIR}
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"