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

Re: Questions on localbase again

Heikki Korpela <heko_(_at_)_iki_(_dot_)_fi> wrote:

> > Ports _should_ transparently handle this.  If a port doesn't, it's
> > a bug that should be fixed.
> Either I misunderstood something (quite possible :-) or this
> conflicts with what Brad said about creating another fake.mtree

No, what I meant is that _given a modified fake.mtree_, ports should
handle a change in LOCALBASE transparently.

> So, should ports handle creating proper
> ${LOCALBASE}/{bin,man,lib,include,...} even when fake.mtree
> doesn't create them?

No, there's no need to ensure this.  I mean, that's what fake.mtree
is for.

> > Also, I suspect a good many configure scripts check for
> > things in /usr/local but not in your custom path.
> Hmm, doesn't this stuff in bsd.port.mk take care of that?
> PORTPATH?= /usr/bin:/bin:/usr/sbin:/sbin:${LOCALBASE}/bin:${X11BASE}/bin

Doesn't help if the script is hardcoded.  Just how many are is
anybody's guess.

Christian "naddy" Weisgerber                          naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de

Visit your host, monkey.org