From f678b28453790c7c3d2643ab3bc3c947fc10a5de Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Sun, 4 Dec 2005 02:01:01 +0000 Subject: [PATCH] Remove the PROVIDE line from the startup script. From our perspective, this is still an old-style rc script, however the presence of the PROVIDE line fools the new rcorder code in HEAD into thinking that it should be treated like a new style script. I submitted the patch to the maintainer recently, but given that the PR points out the problem in the real world, I'm taking unilateral action. If the maintainer has a better solution, that's not a problem. PR: ports/89892 Submitted by: Nicolas Blais --- print/cups-base/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 933c0b3bafdb..d3851571b11e 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -9,7 +9,7 @@ PORTNAME= cups-base PORTVERSION= ${CUPS_PORTVER} -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= ${CUPS_PORTEPOCH} CATEGORIES= print MASTER_SITES= ${CUPS_MASTER_SITES} @@ -33,6 +33,8 @@ post-patch: ${WRKSRC}/man/*.man @${REINPLACE_CMD} -e 's|CXX="$$CC"||g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} + @${CP} ${WRKSRC}/cups.sh.in ${WRKSRC}/cups.sh.in.presed + @${SED} 40d ${WRKSRC}/cups.sh.in.presed > ${WRKSRC}/cups.sh.in pre-install: @${ECHO_MSG} "===>" Stopping cupsd ...