summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-10-27 06:23:58 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-10-27 06:23:58 +0000
commit168c20efc48e0a2971388c56cdb2d604e0f9fa5b (patch)
tree8cad685b1e31709c5e135c1a4b7a1a0a58af1fe3 /x11
parentAdd an additional MASTER_SITE provided by maintainer to fix fetch. (diff)
Use cups-config to locate the cups data dir
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs3/Makefile2
-rw-r--r--x11/kdelibs4/Makefile2
2 files changed, 4 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
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index e959c44f3193..c839db9894c8 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/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