diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-03-10 14:11:16 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-03-10 14:11:16 +0000 |
commit | bb736d22904655af5a633903380e18061230ffa5 (patch) | |
tree | bc6a8fd1c091820dc476f64592fe9584057e8ec3 /databases/qt4-mysql-plugin/Makefile | |
parent | c18bc185243c63a448f494915e214e151d2d444f (diff) | |
download | ports-bb736d22904655af5a633903380e18061230ffa5.tar.gz ports-bb736d22904655af5a633903380e18061230ffa5.zip |
Notes
Diffstat (limited to 'databases/qt4-mysql-plugin/Makefile')
-rw-r--r-- | databases/qt4-mysql-plugin/Makefile | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/databases/qt4-mysql-plugin/Makefile b/databases/qt4-mysql-plugin/Makefile index bfd1ecbe0a98..0111b693c25a 100644 --- a/databases/qt4-mysql-plugin/Makefile +++ b/databases/qt4-mysql-plugin/Makefile @@ -1,37 +1,13 @@ # Created by: Kay Lehmann <kay_lehmann@web.de> # $FreeBSD$ -PORTNAME= qt4-${DB}-plugin -DISTVERSION= ${QT4_VERSION} -CATEGORIES= databases +PORTREVISION= 1 -MAINTAINER= kde@FreeBSD.org COMMENT= Qt MySQL database plugin - DB= mysql - -USE_QT4= moc_build sql -QT_DIST= yes - USE_MYSQL= yes -DRIVER= src/sql/drivers/${DB} -PLUGIN= src/plugins/sqldrivers/${DB} -EXTRACT_AFTER_ARGS?= ${DISTNAME}/${DRIVER} \ - ${DISTNAME}/src/corelib \ - ${DISTNAME}/${PLUGIN} -MAKEFILE= ${FILESDIR}/Makefile.bsd -MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \ - PLUGIN="${PLUGIN}" \ - QT_INCDIR="${QT_INCDIR}" \ - QT_LIBDIR="${QT_LIBDIR}" -PLIST_SUB= DB=${DB} - -EXTRA_PATCHES= # empty - -SQL_PLUGINDIR= ${PREFIX}/${QT_PLUGINDIR_REL}/sqldrivers -do-install: - @${MKDIR} ${STAGEDIR}${SQL_PLUGINDIR} - ${INSTALL_LIB} ${WRKSRC}/libqsql${DB}.so ${STAGEDIR}${SQL_PLUGINDIR} +CXXFLAGS+= -I${LOCALBASE}/include/mysql +LDFLAGS+= -L${LOCALBASE}/lib/mysql -.include <bsd.port.mk> +.include "${.CURDIR:H:H}/devel/qt4/Makefile.sqldrivers" |