From owner-freebsd-ports@FreeBSD.ORG Tue May 18 20:21:05 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06F521065673 for ; Tue, 18 May 2010 20:21:05 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 886838FC0A for ; Tue, 18 May 2010 20:21:04 +0000 (UTC) Received: (qmail 19169 invoked by uid 399); 18 May 2010 20:21:02 -0000 Received: from localhost (HELO ?192.168.0.145?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 18 May 2010 20:21:02 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BF2F6AD.3020709@FreeBSD.org> Date: Tue, 18 May 2010 13:21:01 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Wesley Shields References: <86hbm5yjjh.fsf@gmail.com> <20100518115611.GA45921@atarininja.org> <4BF28470.2050903@infracaninophile.co.uk> <86hbm5vycg.fsf@gmail.com> <20100518195725.GB48168@atarininja.org> In-Reply-To: <20100518195725.GB48168@atarininja.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Anonymous , Ion-Mihai Tetcu , freebsd-ports@freebsd.org Subject: Re: preferred place for system-wide config files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 20:21:05 -0000 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? 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. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/