diff options
author | ahze <ahze@FreeBSD.org> | 2007-10-25 07:54:41 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2007-10-25 07:54:41 +0800 |
commit | 15917419bffa46cac84118a57ef685a154c07510 (patch) | |
tree | 9fbcb5ad4788fd7aa12770bbc19caea60b8aaee4 /print/gutenprint-base | |
parent | 74133c65482340b11c2fbe3e25e1c85dd214a42d (diff) | |
download | freebsd-ports-gnome-15917419bffa46cac84118a57ef685a154c07510.tar.gz freebsd-ports-gnome-15917419bffa46cac84118a57ef685a154c07510.tar.zst freebsd-ports-gnome-15917419bffa46cac84118a57ef685a154c07510.zip |
Correct path to lpstat so gimp (and others) can find pre-configured-cups printers.
Diffstat (limited to 'print/gutenprint-base')
-rw-r--r-- | print/gutenprint-base/Makefile | 4 |
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 |