aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qt4-script/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/qt4-script/Makefile')
-rw-r--r--devel/qt4-script/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/qt4-script/Makefile b/devel/qt4-script/Makefile
index 7ac82ce3cc17..e7144254426a 100644
--- a/devel/qt4-script/Makefile
+++ b/devel/qt4-script/Makefile
@@ -61,6 +61,7 @@ post-configure:
${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' \
+ -E -e 's|(.*Cflags:.*)-I${LOCALBASE}/include |\1|g' \
${WRKSRC}/../../lib/pkgconfig/*Qt*
.include <bsd.port.mk>