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

Mike Makonnen mtm at identd.net
Wed Jun 30 09:03:57 PDT 2004


On Sun, Jun 27, 2004 at 09:30:49AM -0700, David O'Brien wrote:
> 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

hmm... I need to upgrade my ports then.

Thanks for letting me know before I wasted time doing something that was
not necessary :)

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm at identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8  5279 5359 2B82 7CD4 1F55
mtm at FreeBSD.Org| FreeBSD - Unleash the Daemon !


More information about the cvs-src mailing list