Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 00:50:29 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76518: Add RC_SUBR to SUB_LIST when USE_RC_SUBR is defined
Message-ID:  <200501210050.j0L0oTsZ091707@freefall.freebsd.org>
Resent-Message-ID: <200501210100.j0L10fXk092069@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501210050.j0L0oTsZ091707>