Date: Tue, 5 Oct 2004 16:24:08 +0200 From: Erik Trulsson <ertr1013@student.uu.se> To: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Cc: freebsd-questions@freebsd.org Subject: Re: Release Compiler options Message-ID: <20041005142408.GA17116@falcon.midgard.homeip.net> In-Reply-To: <44is9p9v5b.fsf@be-well.ilk.org> References: <6FC9F9894A9F8C49A722CF9F2132FC2201FFC245@ms05.mailstreet2003.net> <200410051045.15454.Emanuel.Strobl@gmx.net> <20041005100007.GC9642@happy-idiot-talk.infracaninophile.co.uk> <200410051237.56653.Emanuel.Strobl@gmx.net> <44is9p9v5b.fsf@be-well.ilk.org>
index | next in thread | previous in thread | raw e-mail
On Tue, Oct 05, 2004 at 09:01:04AM -0400, Lowell Gilbert wrote:
> Emanuel Strobl <Emanuel.Strobl@gmx.net> writes:
>
> > Ok, so share/examples/etc/make.conf is not evaluated like
> > etc/defautls/make.conf was before? That's the point I guess.
>
> /etc/defaults/make.conf was *never* evaluated. That's *why* it was
> moved out to the examples tree.
/etc/defaults/make.conf was, and still is, evaluated in 4-stable. [1]
However since all lines in that file are commented out it doesn't
actually set any defaults (unlike e.g. /etc/defaults/rc.conf which
actually sets default values for many variables.)
However one has never (or at least not for a very long time) been
supposed to modify /etc/defaults/make.conf, but any local modifications
are supposed to go into /etc/make.conf which means that it made more
sense to move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf
since it was just documentation of what variables one could set in
/etc/make.conf.
[1] From /usr/share/mk/sys.mk
[...]
.if exists(/etc/defaults/make.conf)
.include </etc/defaults/make.conf>
.endif
__MAKE_CONF?=/etc/make.conf
.if exists(${__MAKE_CONF})
.include "${__MAKE_CONF}"
.endif
[...]
--
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041005142408.GA17116>
