2011-03-03 06:50:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2011/03/03 05:50:05 adam Exp $
|
2009-07-07 20:04:13 +02:00
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2009-04-15 22:39:42 +02:00
|
|
|
|
|
|
|
.include "../../x11/qt4-libs/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= qt4-mysql-${QTVERSION}
|
|
|
|
COMMENT= QT mysql driver
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= -I${QTDIR}/include
|
|
|
|
CONFIGURE_ARGS+= -L${QTDIR}/lib
|
|
|
|
|
|
|
|
BUILD_QT4= yes
|
|
|
|
|
|
|
|
do-build:
|
2009-06-13 13:55:50 +02:00
|
|
|
cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE}
|
2009-04-15 22:39:42 +02:00
|
|
|
cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE}
|
|
|
|
cd ${WRKSRC}/src/plugins/sqldrivers/mysql && env ${MAKE_ENV} ${GMAKE}
|
|
|
|
|
|
|
|
SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers
|
2009-07-07 20:04:13 +02:00
|
|
|
INSTALLATION_DIRS= ${SQLDRVDIR}
|
2009-04-15 22:39:42 +02:00
|
|
|
|
|
|
|
do-install:
|
2010-11-15 14:05:44 +01:00
|
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/plugins/sqldrivers/libqsqlmysql.la \
|
2009-07-07 20:04:13 +02:00
|
|
|
${DESTDIR}${SQLDRVDIR}
|
2009-04-15 22:39:42 +02:00
|
|
|
|
|
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
|
|
.include "../../x11/qt4-tools/buildlink3.mk"
|
|
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|