aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/kdelibs3/Makefile4
-rw-r--r--x11/kdelibs4/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index 5224784522b3..529901eb11d3 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -84,8 +84,8 @@ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
pre-configure:
${REINPLACE_CMD} "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/kdeprint/cups/kmcupsmanager.cpp
- ${REINPLACE_CMD} "s,ac_cups_share_test=.*,ac_cups_share_test=\`\$$kde_cups_config --datadir\`,g" \
- ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s,ac_cups_share_test=.*,ac_cups_share_test=\`\$$kde_cups_config --datadir\`,g" \
+ -e "s,pcreposix.h,pcre.h,g" ${WRKSRC}/configure
post-configure:
${TOUCH} ${WRKSRC}/dcop/dcop-path.h.in
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 5224784522b3..529901eb11d3 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -84,8 +84,8 @@ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
pre-configure:
${REINPLACE_CMD} "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/kdeprint/cups/kmcupsmanager.cpp
- ${REINPLACE_CMD} "s,ac_cups_share_test=.*,ac_cups_share_test=\`\$$kde_cups_config --datadir\`,g" \
- ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s,ac_cups_share_test=.*,ac_cups_share_test=\`\$$kde_cups_config --datadir\`,g" \
+ -e "s,pcreposix.h,pcre.h,g" ${WRKSRC}/configure
post-configure:
${TOUCH} ${WRKSRC}/dcop/dcop-path.h.in