Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2010 16:36:10 -0400
From:      Wesley Shields <wxs@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Anonymous <swell.k@gmail.com>, Ion-Mihai Tetcu <itetcu@FreeBSD.org>, freebsd-ports@freebsd.org
Subject:   Re: preferred place for system-wide config files
Message-ID:  <20100518203610.GA50328@atarininja.org>
In-Reply-To: <4BF2F6AD.3020709@FreeBSD.org>
References:  <86hbm5yjjh.fsf@gmail.com> <20100518115611.GA45921@atarininja.org> <4BF28470.2050903@infracaninophile.co.uk> <86hbm5vycg.fsf@gmail.com> <20100518195725.GB48168@atarininja.org> <4BF2F6AD.3020709@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 18, 2010 at 01:21:01PM -0700, Doug Barton wrote:
> On 5/18/2010 12:57 PM, Wesley Shields wrote:
> > On Tue, May 18, 2010 at 10:50:07PM +0400, Anonymous wrote:
> >
> >> This still doesn't clarify where to look for files that are *not*
> >> installed, e.g. config files. Such files can be created by user and only
> >> used by the port itself when they exist. Does it matter whether they're
> >> installed or not to choose LOCALBASE over PREFIX?
> > 
> > PREFIX.
> 
> Just to be clear I think you're referring to _installing_ files, right?

Correct. I misread the question.

> In the world where PREFIX and LOCALBASE are different, PREFIX cannot be
> relied on to exist after the port is installed. Therefore regarding
> configuration files that are not installed by the port the thing
> installed (for example portmaster) should look for its configuration
> files in LOCALBASE.

Yes, I agree with this.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100518203610.GA50328>