cvs commit: src/etc rc.shutdown rc.subr

David O'Brien obrien at FreeBSD.org
Sun Jun 27 09:30:53 PDT 2004


On Sun, Jun 27, 2004 at 11:49:58AM +0300, Mike Makonnen wrote:
> On Sat, Jun 26, 2004 at 10:29:49AM -0700, David O'Brien wrote:
> > On Sat, Jun 26, 2004 at 01:21:54PM +0300, Mike Makonnen wrote:
> > > You might still see messages from ports, which don't use the
> > > base system rc.subr script.  But I'm working on getting that fixed
> > > by making it possible for ports to use the base system rc.subr.
> > 
> > I thought they already did (at least on late model 5-CURRENT).
> 
> Not that I'm aware. Ports use a separate copy of rc.subr that gets
> downloaded as a dependency.

Not for a while now:

# USE_RC_SUBR		- Says the ports startup/shutdown script uses
#			  the common routines found in etc/rc.subr and
#                         may need to depend on the sysutils/rc_subr port.
...
.if defined(USE_RC_SUBR)
.if ${OSVERSION} < 500037
RUN_DEPENDS+=	${LOCALBASE}/etc/rc.subr:${PORTSDIR}/sysutils/rc_subr
RC_SUBR=	${LOCALBASE}/etc/rc.subr
.else
RC_SUBR=	/etc/rc.subr
.endif
.endif

-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-src mailing list