tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: get rid of LOCALBASE



On 03.12.2020 19:22, Thomas Klausner wrote:
> On Fri, Dec 04, 2020 at 01:15:43AM +0700, Robert Elz wrote:
>>     Date:        Thu, 3 Dec 2020 18:15:23 +0100
>>     From:        Thomas Klausner <wiz%NetBSD.org@localhost>
>>     Message-ID:  <20201203171523.cwhjugjgj2jxcdic%yt.nih.at@localhost>
>>
>>   | Since we had two recent occurrences where this bit developers, I'd
>>   | like to globally replace: LOCALBASE with PREFIX.
>>
>> That is, make it easier for developers, and break users' setups?
>> Doesn't sound like the right way to go to me.
>>
>> While LOCALBASE is perhaps not a great name, PREFIX is worse.
>> Its only advantage is that it is shorter.   Prefix of what?
>> If you know what it is intended to be, fine, if you don't, its
>> name is of zero help.   LOCALBASE is at least sightly suggestive
>> as to a purpose.
>>
>> I think I'd leave well enough alone, but improve the developer doc
>> so that the issues are better understood.
> 
> Currently there are both in use, the proposal is to use only one of the two.
>  Thomas
> 

LOCALBASE is an obsolete name as it specified... /usr/local, but I would
keep it as there is no better alternative and it is known from other
BSDs. PKGBASE is taken, PKGPREFIX is overlapping with at least LUA and
RUBY packages.

I am hit by unavailable PREFIX in /etc/mk.conf and I am forced to use
full paths starting with /usr/pkg.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index