From owner-freebsd-arch Sun Oct 10 9:30:15 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 432DF15784 for ; Sun, 10 Oct 1999 09:28:16 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id SAA18566 for ; Sun, 10 Oct 1999 18:28:14 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA00265 for freebsd-arch@freebsd.org; Sun, 10 Oct 1999 18:27:31 +0200 (MET DST) Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 9B03214C8E for ; Sun, 10 Oct 1999 08:56:39 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p06-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.135]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id AAA16468; Mon, 11 Oct 1999 00:56:15 +0900 (JST) Message-ID: <38007A78.4388F2B7@newsguy.com> Date: Sun, 10 Oct 1999 20:37:28 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: John Birrell Cc: Chuck Robey , Garrett Wollman , arch@freebsd.org Subject: Re: /etc/make.conf abuse References: <19991010115346.A374@freebsd1.cimlogic.com.au> <19991010142207.B374@freebsd1.cimlogic.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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