aboutsummaryrefslogtreecommitdiffstats
path: root/databases/qt4-sql/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/qt4-sql/Makefile')
-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' \