diff options
Diffstat (limited to 'graphics/qt4-svg/Makefile')
-rw-r--r-- | graphics/qt4-svg/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/qt4-svg/Makefile b/graphics/qt4-svg/Makefile index 176410c57c81..dfefecff2de5 100644 --- a/graphics/qt4-svg/Makefile +++ b/graphics/qt4-svg/Makefile @@ -8,7 +8,7 @@ PORTNAME= svg PORTVERSION= 4.2.3 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES?= graphics MASTER_SITES= ${MASTER_SITE_QT} PKGNAMEPREFIX= qt4- @@ -79,5 +79,9 @@ pre-configure: post-configure: ${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtSvg.pc|${PREFIX}/libdata/pkgconfig/QtSvg.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> |