aboutsummaryrefslogtreecommitdiff
path: root/print/gutenprint-base
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2007-04-06 12:45:56 +0000
committerMichael Johnson <ahze@FreeBSD.org>2007-04-06 12:45:56 +0000
commitd6b6169f8a6563701f6e6bb4715cb8d872e21c34 (patch)
tree6d3e905357d377b5c7ce7ddad73a0814641236a6 /print/gutenprint-base
parent0dce76ecd8d3997580d8f503dd48b13cd742c76e (diff)
downloadports-d6b6169f8a6563701f6e6bb4715cb8d872e21c34.tar.gz
ports-d6b6169f8a6563701f6e6bb4715cb8d872e21c34.zip
don't create cups dirs if port is not gutenprint-cups
Notes
Notes: svn path=/head/; revision=189375
Diffstat (limited to 'print/gutenprint-base')
-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' \