diff options
author | lofi <lofi@FreeBSD.org> | 2005-10-27 14:23:58 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-10-27 14:23:58 +0800 |
commit | 477ec770d31ede8e84bbe64c0a7cbf08b038224b (patch) | |
tree | aa5222e0789ee533c99d948bd1e1a84db1c8044e /x11 | |
parent | 0e3fc02af7b0845c0da7f01e9671761ed9842251 (diff) | |
download | freebsd-ports-gnome-477ec770d31ede8e84bbe64c0a7cbf08b038224b.tar.gz freebsd-ports-gnome-477ec770d31ede8e84bbe64c0a7cbf08b038224b.tar.zst freebsd-ports-gnome-477ec770d31ede8e84bbe64c0a7cbf08b038224b.zip |
Use cups-config to locate the cups data dir
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdelibs3/Makefile | 2 | ||||
-rw-r--r-- | x11/kdelibs4/Makefile | 2 |
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 |