Date: Sun, 9 Oct 2005 12:20:18 +0400 From: Yar Tikhiy <yar@comp.chem.msu.su> To: Maxim Konovalov <maxim@macomnet.ru> Cc: hackers@freebsd.org Subject: Re: SENDMAIL_MC & making world Message-ID: <20051009082017.GB81198@comp.chem.msu.su> In-Reply-To: <20051008175423.B33867@mp2.macomnet.net> References: <20051008134703.GA25960@comp.chem.msu.su> <20051008175423.B33867@mp2.macomnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 08, 2005 at 05:55:54PM +0400, Maxim Konovalov wrote: > On Sat, 8 Oct 2005, 17:47+0400, Yar Tikhiy wrote: > > I'd like to set SENDMAIL_MC in my /etc/make.conf files conditionally > > so that it is not set when I'm making {build,install}world. I > > upgrade several machines over NFS from a single build server, and > > of course installworld breaks if SENDMAIL_MC differs from what was > > set during buildworld. At the same time, I'd like to have SENDMAIL_MC > > set for the rest of the time on the machines because `hostname` is > > not a suitable way to construct the .mc names on them due to local > > setup peculiarities. Any ideas how to achieve this effect? > > It is possible to override make.conf location via __MAKE_CONF variable > and use different make.conf at the build,installworld stages. > Perhaps that suits your needs. Uh-huh, two make.conf's instead of one don't look like a great burden. Even better, I can put the buildworld-stage make.conf in src or obj shared over NFS to build clients, and I'll no more have to keep the local copies on clients in sync with that of the build server! Thanks for the cool idea! -- Yar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051009082017.GB81198>