aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-05-28 23:40:01 +0800
committerlofi <lofi@FreeBSD.org>2007-05-28 23:40:01 +0800
commitaf94ef40a3b43760598d08dc063a88067726d126 (patch)
treeed3ab6824fd7d2ceb17c5fe17b68e64df851efbb /databases
parent3cc6ef817779c8075ae69b2b028d4b7cd153a63e (diff)
downloadfreebsd-ports-gnome-af94ef40a3b43760598d08dc063a88067726d126.tar.gz
freebsd-ports-gnome-af94ef40a3b43760598d08dc063a88067726d126.tar.zst
freebsd-ports-gnome-af94ef40a3b43760598d08dc063a88067726d126.zip
Make sure qmake doesn't regenerate Makefile with wrong pkgconfig locations.
Diffstat (limited to 'databases')
-rw-r--r--databases/qt4-sql/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/qt4-sql/Makefile b/databases/qt4-sql/Makefile
index 868eb78b1bdb..156d4d5e4ecb 100644
--- a/databases/qt4-sql/Makefile
+++ b/databases/qt4-sql/Makefile
@@ -8,7 +8,7 @@
PORTNAME= sql
PORTVERSION= 4.2.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -75,7 +75,7 @@ pre-configure:
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc
post-configure:
${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtSql.pc|${PREFIX}/libdata/pkgconfig/QtSql.pc|g' \
- -e 's|(test -z.*||g' \
+ -e 's|.*$$(QMAKE).*||g' -e 's|(test -z.*||g' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \