From c2719a1924136463efddc6103027bb026483084e Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Tue, 1 May 2007 15:14:48 +0000 Subject: Fix/remove bogus paths pointing to the build directory from pkgconfig files, libtool archives and dot-prl files. PR: ports/112228 Submitted by: Koji Yokota --- databases/qt4-sql/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'databases') diff --git a/databases/qt4-sql/Makefile b/databases/qt4-sql/Makefile index 626afd0b581d..868eb78b1bdb 100644 --- a/databases/qt4-sql/Makefile +++ b/databases/qt4-sql/Makefile @@ -8,7 +8,7 @@ PORTNAME= sql PORTVERSION= 4.2.3 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES?= databases MASTER_SITES= ${MASTER_SITE_QT} PKGNAMEPREFIX= qt4- @@ -77,5 +77,9 @@ post-configure: ${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtSql.pc|${PREFIX}/libdata/pkgconfig/QtSql.pc|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' \ + -E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \ + ${WRKSRC}/../../lib/*Qt* .include -- cgit v1.2.3