summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdelibs3/Makefile')
-rw-r--r--x11/kdelibs3/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index e959c44f3193..c839db9894c8 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -79,6 +79,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
post-configure:
${TOUCH} ${WRKSRC}/dcop/dcop-path.h.in