diff options
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 |