# $NetBSD: Makefile,v 1.9 2014/12/30 17:23:45 adam Exp $ DISTNAME= qtbase-opensource-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 "sql-plugins=odbc" -o Makefile .include "../../devel/libltdl/buildlink3.mk" .include "../../databases/unixodbc/buildlink3.mk" .include "../../x11/qt5-qtbase/buildlink3.mk" .include "../../mk/bsd.pkg.mk"