Subject: Re: RCD_SCRIPTS problems
To: Juan RP <juan@xtrarom.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-pkg
Date: 06/06/2005 15:22:30
On Mon, Jun 06, 2005 at 03:17:51PM +0200, Juan RP wrote:
> On Mon, 6 Jun 2005 15:16:53 +0200
> Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> 
> > Hi,
> > I'm working on a new package, which provides a rc.d script. The problem is
> > that setting RCD_SCRIPTS doesn't cause the script to be installed in
> > examples/rc.d/ in mu case (I do have a files/vmpsd.sh script).
> > Attached is the Makefile. Any idea on what's missing ?
> 
> You forgot to attach the Makefile...

Yes, I've just sent it. Sorry.

> BTW have you added PKG_RCD_SCRIPTS=YES?

No, but if docs/pkgsrc.txt is right I should not set it:

<<
The automatic copying of config files can be toggled by setting the environment
variable PKG_RCD_SCRIPTS prior to package installation. Note that the scripts
will be always copied inside the examples hierarchy, ${PREFIX}/share/examples/
rc.d/, no matter what the value of this variable is.
>>

My problem is that ${PREFIX}/share/examples/rc.d/ remains empty.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--