pkgsrc/x11/qt5-odbc/Makefile
adam 293e512b8e qt5: updated to 5.11.2
Qt 5.11.2 Released

Qt 5.11.2 is released today. As a patch release it does not add any new functionality, but provides important bug fixes, security updates and other improvements.

Compared to Qt 5.11.1, the Qt 5.11.2 release provides fixes for more than 250 bugs and it contains around 800 changes in total. For details of the most important changes, please check the Change files of Qt 5.11.2.
2018-10-01 17:44:46 +00:00

27 lines
833 B
Makefile

# $NetBSD: Makefile,v 1.30 2018/10/01 17:44:47 adam Exp $
DISTNAME= qtbase-everywhere-src-${QTVERSION}
PKGNAME= qt5-odbc-${QTVERSION}
COMMENT= Qt5 odbc plugin
BUILD_DIRS= src/plugins/sqldrivers
MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
LIBS+= -lltdl
.include "../../x11/qt5-qtbase/Makefile.common"
do-configure:
${RM} -f -r ${WRKSRC}/mkspecs
cd ${WRKSRC}/${BUILD_DIRS} && \
${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"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"