Subject: Re: how to use pkgtools/rc.subr
To: None <tech-pkg@NetBSD.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 12/11/2003 00:19:09
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

Agreed.

> 
> ? Does FreeBSD 5.x need rc.subr?

No, it doesn't, 5.x has rc.subr by default.

> 
> Maybe this OPSYS-dependent decision should be made automatically in
> mk/bsd.pkg.install.mk if RCD_SCRIPTS is not empty?

Agreed.

-- 
Juan RP <juan AT xtraeme DOT unixbsd DOT org>