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

Re: Questions on localbase again



Heikki Korpela <heko@iki.fi> wrote:

> 1) If I decide to use a $LOCALBASE other than /usr/local, is it up
>    to me to fix infrastructure/db/fake.mtree

Yes.  You can't pass parameters into an mtree spec, I'm afraid.

>    (or individual ports) to reflect this change?

Ports _should_ transparently handle this.  If a port doesn't, it's
a bug that should be fixed.

In practice, you'll see a lot of breakage if you change LOCALBASE.
I'm sure there are some ports that hardcode /usr/local and nobody
noticed.  Also, I suspect a good many configure scripts check for
things in /usr/local but not in your custom path.  (Same for
/usr/X11R6 and X11BASE.)

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de