Subject: Re: how to use pkgtools/rc.subr
To: None <tech-pkg@netbsd.org>
From: Mike M. Volokhov <mishka@terabyte.com.ua>
List: tech-pkg
Date: 12/11/2003 12:32:50
On Thu, 11 Dec 2003 00:15:05 +0100
Klaus Heinz <k.heinz.dez.drei@onlinehome.de> wrote:
> Hi,
>
> how is pkgtools/rc.subr supposed to be used? As NetBSD does not need
> it, should we do it like this in the Makefile
>
> .if ${OPSYS} != NetBSD
> DEPENDS+= rc.subr-[0-9]*:../../pkgtools/rc.subr
> .endif
>
> ? Does FreeBSD 5.x need rc.subr?
>
> Maybe this OPSYS-dependent decision should be made automatically in
> mk/bsd.pkg.install.mk if RCD_SCRIPTS is not empty?
>
Please look into wip/mk/rcd.mk file. It provides "smart" dependency on
whole rc.d framework, not on rc.subr only.
--
Kind regards,
Mishka.