From owner-freebsd-arch Thu Mar 8 19:38:11 2001 Delivered-To: freebsd-arch@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id A49CE37B718 for ; Thu, 8 Mar 2001 19:38:07 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f293bFA45745; Thu, 8 Mar 2001 19:37:15 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103082137.NAA26735@gndrsh.dnsmgr.net> Date: Thu, 08 Mar 2001 19:37:09 -0800 (PST) From: John Baldwin To: "Rodney W. Grimes" Subject: Re: Breaking up make.conf Cc: arch@FreeBSD.org, (Kris Kennaway) Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 08-Mar-01 Rodney W. Grimes wrote: >> On Thu, Mar 08, 2001 at 11:32:08AM -0800, Rodney W. Grimes wrote: >> > I've though about this on and off over the years, and would actually >> > like to see src/make.conf or src/world.conf and remove the /etc >> > dependecy. The major reason is that I often have more than one >> > src tree on a build system and I have to screw around with /etc/make.conf >> > if build environments are different. >> > >> > This can be implemented by a simple backtrace up the tree from any >> > level looking for make.conf, terminating either when we find one, >> > or when we hit /. >> >> In other words, pretty much exactly what I was talking about, except >> you put your world.conf in src/ where I put it in /etc :-) > > Pretty much. I think you can elimiate the need for the additional > ../Makefile.inc using a .for loop just hunting for the make.conf, > it just seems silly to me to need to add 91 one line Makefile.inc's > to get this to work. What if I want to use /etc/release.conf for clean release builds and /etc/currentworld.conf for current, etc.? If it's a tweakable variable name in /etc/make.conf (or overridable on the command line to make buildworld of course) then the ../Makefile.inc hack will allow me to stick this file anywhere with any name, rather than forcing it to be in the path of the source tree. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message