aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/gutenprint-base/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/print/gutenprint-base/Makefile b/print/gutenprint-base/Makefile
index 5abf1c9c4875..7ad9e3ab1e53 100644
--- a/print/gutenprint-base/Makefile
+++ b/print/gutenprint-base/Makefile
@@ -93,6 +93,9 @@ CONFIGURE_ARGS+= --with-user-guide=no
.endif
post-patch:
+.if ${SLAVE_PORT}=="no" || ${GUT_SLAVE}!="cups"
+ @${REINPLACE_CMD} -e 's|cups ||' ${WRKSRC}/src/Makefile.in
+.endif
@${REINPLACE_CMD} -e 's|%%GUTENPRINTUI2_LIBS%%|${GUTENPRINTUI2_LIBS}|' \
${WRKSRC}/src/gimp2/Makefile.in
@${REINPLACE_CMD} -e 's|$$libdir/gimp/1.2/plug-ins||g' \