diff options
author | lofi <lofi@FreeBSD.org> | 2007-05-01 23:14:48 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2007-05-01 23:14:48 +0800 |
commit | 410f5855641a4aff4d61b1176d13abf11b223c2f (patch) | |
tree | 9cd63fcfd699c04abc891744534ac55791c6dd00 /x11-toolkits/qt4-gui/Makefile | |
parent | 2965077f4b36e67a27e0ca3bd9fcd0c2e0aa0490 (diff) | |
download | freebsd-ports-gnome-410f5855641a4aff4d61b1176d13abf11b223c2f.tar.gz freebsd-ports-gnome-410f5855641a4aff4d61b1176d13abf11b223c2f.tar.zst freebsd-ports-gnome-410f5855641a4aff4d61b1176d13abf11b223c2f.zip |
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>
Diffstat (limited to 'x11-toolkits/qt4-gui/Makefile')
-rw-r--r-- | x11-toolkits/qt4-gui/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-toolkits/qt4-gui/Makefile b/x11-toolkits/qt4-gui/Makefile index 879f7b14e335..791dcb01a324 100644 --- a/x11-toolkits/qt4-gui/Makefile +++ b/x11-toolkits/qt4-gui/Makefile @@ -8,7 +8,7 @@ PORTNAME= gui PORTVERSION= 4.2.3 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES?= x11-toolkits MASTER_SITES= ${MASTER_SITE_QT} PKGNAMEPREFIX= qt4- @@ -95,5 +95,9 @@ pre-configure: post-configure: ${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtGui.pc|${PREFIX}/libdata/pkgconfig/QtGui.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* .include <bsd.port.post.mk> |