Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 06:24:51 -0600
From:      "Mike Meyer" <mwm-dated-1016454292.b027a0@mired.org>
To:        Roman Neuhauser <neuhauser@mobil.cz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: HIERARCHY BATTLE: Beat the shit out of the rest!
Message-ID:  <15503.17683.841194.643911@guru.mired.org>
In-Reply-To: <20020313100237.GX63612@roman.mobil.cz>
References:  <20020311161604.05a35bc5.johann@broadpark.no> <20020311173458.GA721@hades.hell.gr> <20020312143434.GD1577@raggedclown.net> <20020312171249.GT63612@roman.mobil.cz> <20020312195003.GA790@raggedclown.net> <20020313100237.GX63612@roman.mobil.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Roman Neuhauser <neuhauser@mobil.cz> types:
> > From: Cliff Sarginson <csfbsd@raggedclown.net>
> > On Tue, Mar 12, 2002 at 06:12:49PM +0100, Roman Neuhauser wrote:
> > > > Date: Tue, 12 Mar 2002 15:34:34 +0100
> > > > From: Cliff Sarginson <csfbsd@raggedclown.net>
> > > > To: freebsd-questions@freebsd.org
> > > > Subject: Re: HIERARCHY BATTLE: Beat the shit out of the rest!
> > >  
> > > > There is a hierarchy that FreeBSD uses, the only minorly controversial point,
> > > > that I believe gets discussed at every level from time to time over the
> > > > years is the use of "/usr/local". This is really a semantic problem, in
> > > > that "local" implies for a lot of people, their own "stuff" .. i.e.
> > > > programs, scripts docs etc that they produce themselves. In FreeBSD it
> > > > is the home of installed programs that are not part of the base
> > > > distribution, viz. "ports". (Forgetting about X11 for a moment which
> > > > plays by it's own rules). You can change this I believe if you really
> > > > want to.
> > >     Yes. You could put e. g. "LOCAL_BASE=/opt" in /etc/make.conf.
>     ummm. s/LOCAL_BASE/LOCALBASE/

Right. I use LOCALBASE=/usr/opt in /etc/make.conf, and regularly have
to fix and report ports that don't deal with this situation :-(.

The reason it should be moved is that if you want LOCALBASE to be
/usr/local, you can do it with a symlink. Those of us who want to use
/usr/local for other things can't undo that.

As a result, you find the strange situation that a number of my
systems have a symlink from /usr/opt to /usr/local - or vice versa -
so that I can build on that system with minimal troubles, and also
build packages for it on my build system with LOCALBASE set to
/usr/opt.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15503.17683.841194.643911>