Subject: Re: Problems with etc outside /usr/pkg
To: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 05/22/2002 16:50:34
On Wed, 22 May 2002, Thomas Klausner wrote:
> You should configure the package so that it looks for it's files in
> PKG_SYSCONFDIR, but make sure the files get installed somewhere in
> share/examples (by hacking the Makefiles, if necessary); then
> bsd.pkg.install.mk will take care of copying the files from
> share/examples to etc (if you set all the variables correctly).
>
> There are already some packages using these functions, look e.g. in
> sysutils/ups-nut (or grep for others :).

I think pkgsrc/Packages.txt should mention this...
(Who did all the PKG_SYSCONFDIR work and didn't update our docs?)


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/