tech-pkg archive

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

Re: get rid of LOCALBASE



On Thu, Dec 03, 2020 at 03:10:46PM -0500, Greg Troxel wrote:
> 
> Joerg Sonnenberger <joerg%bec.de@localhost> writes:
> 
> > Well, there are good reasons for them to be historically separate, even
> > if we have removed many of the differences over time. pkgviews,
> > subprefixes etc. Ultimately, the main difference remains that LOCALBASE
> > is the user-settable variable and PREFIX is the infrastructure variable.
> > I don't really see the point in renaing the former to the latter.
> 
> So trying to take that comment, which makes sense to me, into a plan
> 
>   LOCALBASE is a user-settable variable
> 
>   PREFIX is an infrastructure-settable variable
> 
>   PREFIX should be set to LOCALBASE, absent some special reason

What are reasons for them to be different in pkgsrc as it is today?

If there is no reason for them to be different, why have both?

(I don't care which of the two we keep.)
 Thomas
 

>   any code that uses LOCALBASE (other than setting PREFIX) is arguably
>   wrong and should be using RPEFIX, unless there's a good reason that is
>   explained in comments after being discussed here
> 
> 
> and this is all sort of floating a theory that our current issues are
> due to confusion between user-settable and infrastructure-settable
> variables, and when the infrastructure-settable one is defined.
> 
> 




Home | Main Index | Thread Index | Old Index