From 168c20efc48e0a2971388c56cdb2d604e0f9fa5b Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Thu, 27 Oct 2005 06:23:58 +0000 Subject: Use cups-config to locate the cups data dir --- x11/kdelibs3/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'x11/kdelibs3') 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 -- cgit v1.2.3