Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 1999 20:37:28 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        Chuck Robey <chuckr@picnic.mat.net>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, arch@freebsd.org
Subject:   Re: /etc/make.conf abuse
Message-ID:  <38007A78.4388F2B7@newsguy.com>
References:  <19991010115346.A374@freebsd1.cimlogic.com.au> <Pine.BSF.4.10.9910100004240.16297-100000@picnic.mat.net> <19991010142207.B374@freebsd1.cimlogic.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
John Birrell wrote:
> 
> Since sys.mk is the _only_ file that `make' knows about, you shouldn't
> have anything FreeBSD-specific in there. That includes /etc/make.conf
> IMO. The first time that `make' sees something that is part of a FreeBSD
> build is when it reads the Makefile that you ask it to parse. Any
> FreeBSD-specific gunk should be included only as a result of parsing
> a FreeBSD Makefile. It doesn't matter what you call the file in which
> you do your FreeBSD build adjustments, or where you put it, just don't
> include it from sys.mk. [ I think this means that you end up having to
> include some FreeBSD specific at the beginning of every Makefile, which
> is probably why the "abuse" lives on. ]

The abuse, in this case, is not pollution of make rules with
FreeBSD-specific stuff. It's pollution of everything with
world-specific stuff.

> As far as "global make adjustments" that are not part of a FreeBSD build
> are concerned -- I don't think there are any. After all, what is there to
> configure about `make' itself?

CC?
CFLAGS?

Just examples. /etc/make.conf is not even an intuitive place for
things like NOPERL5_SUID (sp?) & cia.

--
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org

	"I always feel generous when I'm in the inner circle of a
conspiracy to subvert the world order and, with a small group of
allies, just defeated an alien invasion. Maybe I should value myself
a little more?"






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




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