aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/gutenprint-base/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/gutenprint-base/Makefile b/print/gutenprint-base/Makefile
index fe617dc96b6f..556e32dd2057 100644
--- a/print/gutenprint-base/Makefile
+++ b/print/gutenprint-base/Makefile
@@ -8,7 +8,7 @@
PORTNAME?= gutenprint
PORTVERSION= 5.1.3
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gimp-print
@@ -96,6 +96,8 @@ CONFIGURE_ARGS+= --with-user-guide=no
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/bin/lpstat|${LOCALBASE}/bin/lpstat|' \
+ ${WRKSRC}/src/gutenprintui2/plist.c
.if ${SLAVE_PORT}=="no" || ${GUT_SLAVE}!="cups"
@${REINPLACE_CMD} -e 's|cups ||' ${WRKSRC}/src/Makefile.in
.endif