Correct path to lpstat so gimp (and others) can find pre-configured-cups printers.

This commit is contained in:
Michael Johnson 2007-10-24 23:54:41 +00:00
parent 90eaba07f5
commit 62d6a157f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201951

View file

@ -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