aboutsummaryrefslogtreecommitdiffstats
path: root/databases/qt4-odbc-plugin/Makefile
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-07-16 18:12:15 +0800
committerlofi <lofi@FreeBSD.org>2007-07-16 18:12:15 +0800
commitd6fbb55c8d08bce8c098cf446709cb19c7a99e7a (patch)
tree5f5e822ab4d9145d6928fa3ad65d393697b8b1d6 /databases/qt4-odbc-plugin/Makefile
parent91f7eacf6952fa98d2d8a4b08aa0a185fae8315a (diff)
downloadfreebsd-ports-gnome-d6fbb55c8d08bce8c098cf446709cb19c7a99e7a.tar.gz
freebsd-ports-gnome-d6fbb55c8d08bce8c098cf446709cb19c7a99e7a.tar.zst
freebsd-ports-gnome-d6fbb55c8d08bce8c098cf446709cb19c7a99e7a.zip
Update to Qt 4.3.0, introduce bsd.qt.mk.
Approved by: portmgr (bsd.port.mk changes)
Diffstat (limited to 'databases/qt4-odbc-plugin/Makefile')
-rw-r--r--databases/qt4-odbc-plugin/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/databases/qt4-odbc-plugin/Makefile b/databases/qt4-odbc-plugin/Makefile
index 29ba5dfab69f..477a9ced62d7 100644
--- a/databases/qt4-odbc-plugin/Makefile
+++ b/databases/qt4-odbc-plugin/Makefile
@@ -7,29 +7,31 @@
#
PORTNAME= qt4-${DB}-plugin
-PORTVERSION= 4.2.3
-PORTREVISION= 1
+PORTVERSION= ${QT4_VERSION}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_QT}
DISTNAME= qt-x11-opensource-src-${PORTVERSION}
DIST_SUBDIR= KDE
-MAINTAINER= kde@freebsd.org
+MAINTAINER= kde@FreeBSD.org
COMMENT= Qt ODBC database plugin
DB= odbc
-BUILD_DEPENDS+= moc-qt4:${PORTSDIR}/devel/qt4-moc
-LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC \
- QtSql:${PORTSDIR}/databases/qt4-sql
+LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC
+
+USE_QT_VER= 4
+QT_COMPONENTS= moc sql
+QT_NONSTANDARD= yes
#USE_BZIP2= yes
DRIVER= src/sql/drivers/${DB}
PLUGIN= src/plugins/sqldrivers/${DB}
EXTRACT_AFTER_ARGS?=| ${TAR} -xf - \
- ${DISTNAME}/${DRIVER} ${DISTNAME}/${PLUGIN}
+ ${DISTNAME}/${DRIVER} \
+ ${DISTNAME}/${PLUGIN}
MAKEFILE= ${FILESDIR}/Makefile.bsd
-MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" \
+MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"