From c2719a1924136463efddc6103027bb026483084e Mon Sep 17 00:00:00 2001 From: Michael Nottebrock <lofi@FreeBSD.org> 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 <yokota@res.otaru-uc.ac.jp> --- devel/qt4-corelib/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'devel/qt4-corelib') diff --git a/devel/qt4-corelib/Makefile b/devel/qt4-corelib/Makefile index f80a80eac79c..412e6a47cd3e 100644 --- a/devel/qt4-corelib/Makefile +++ b/devel/qt4-corelib/Makefile @@ -8,7 +8,7 @@ PORTNAME= corelib PORTVERSION= 4.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= devel MASTER_SITES= ${MASTER_SITE_QT} PKGNAMEPREFIX= qt4- @@ -78,6 +78,10 @@ pre-configure: post-configure: ${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtCore.pc|${PREFIX}/libdata/pkgconfig/QtCore.pc|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* .if !defined(PKGNAMESUFFIX) post-install: -- cgit v1.2.3