ports/60451: [maintainer] graphics/hpoj: Fix cups-support
Volker Stolz
vs at foldr.org
Sun Dec 21 08:20:20 UTC 2003
>Number: 60451
>Category: ports
>Synopsis: [maintainer] graphics/hpoj: Fix cups-support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 21 00:20:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Volker Stolz
>Release: FreeBSD 5.1-20031207-SNAP alpha
>Organization:
>Environment:
System: FreeBSD varphi.theater.foldr.org 5.1-20031207-SNAP FreeBSD 5.1-20031207-SNAP #0: Sat Dec 20 06:47:42 CET 2003 root at varphi.theater.foldr.org:/usr/src/sys/alpha/compile/VARPHI alpha
>Description:
- Patch ptal-cups to find bash
- Install start-script with prefix 020 so that it starts
before CUPS
- Bump portrevision
Noted by: John Merryweather Cooper
Closes: ports/60355
>How-To-Repeat:
>Fix:
--- Makefile.orig Sun Dec 21 09:02:05 2003
+++ Makefile Sun Dec 21 09:12:08 2003
@@ -8,6 +8,7 @@
PORTNAME= hpoj
PORTVERSION= 0.91
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= hpoj
@@ -82,7 +83,7 @@
@${REINPLACE_CMD} -e 's,/etc/ptal,${PREFIX}/etc/ptal,' ${WRKSRC}/${f}
.endfor
@${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/scripts/ptal-init.in
- @${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/scripts/ptal-init.in
+ @${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/scripts/ptal-init.in ${WRKSRC}/scripts/ptal-cups.in
.for f in lib/ptal lib/sane lib/hpojip
@${REINPLACE_CMD} -e 's,CFLAGS=-O,CFLAGS+= @CFLAGS@,' ${WRKSRC}/${f}/Makefile.in
.endfor
@@ -95,7 +96,7 @@
.ifndef(WITHOUT_X11)
@${INSTALL_PROGRAM} ${WRKSRC}/apps/xojpanel/xojpanel ${X11BASE}/bin
.endif
- @${MV} ${PREFIX}/etc/rc.d/ptal-init.sh ${PREFIX}/etc/rc.d/ptal-init.sh.sample
+ @${MV} ${PREFIX}/etc/rc.d/ptal-init.sh ${PREFIX}/etc/rc.d/020.ptal-init.sh.sample
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list