ports/76518: Add RC_SUBR to SUB_LIST when USE_RC_SUBR is defined
Brooks Davis
brooks at FreeBSD.org
Fri Jan 21 01:00:42 UTC 2005
>Number: 76518
>Category: ports
>Synopsis: Add RC_SUBR to SUB_LIST when USE_RC_SUBR is defined
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 21 01:00:41 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Brooks Davis
>Release: FreeBSD 4.11-RC2 i386
>Organization:
>Environment:
>Description:
RC_SUBR exists to be substituted in rc scripts. Since we've now got
the SUB_FILES/SUB_LIST mechanism for simplifying this task, RC_SUBR
should be on the list when USE_RC_SUBR is defined.
>How-To-Repeat:
>Fix:
Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.505
diff -u -p -r1.505 bsd.port.mk
--- bsd.port.mk 31 Dec 2004 18:23:43 -0000 1.505
+++ bsd.port.mk 21 Jan 2005 00:43:33 -0000
@@ -1463,6 +1463,7 @@ RC_SUBR= ${LOCALBASE}/etc/rc.subr
.else
RC_SUBR= /etc/rc.subr
.endif
+SUB_LIST+= RC_SUBR=${RC_SUBR}
.endif
.if defined(USE_ICONV)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list