openbsd-ports
[Top] [All Lists]

Re: Questions on localbase again

To: ports@openbsd.org
Subject: Re: Questions on localbase again
From: naddy@mips.inka.de (Christian Weisgerber)
Date: Sun, 5 Aug 2001 23:49:05 +0000 (UTC)
Newsgroups: list.openbsd.ports
References: <Pine.LNX.4.33.0108060134520.10597-100000@saitti.net>
Sender: owner-ports@openbsd.org
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

<Prev in Thread] Current Thread [Next in Thread>