From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 8 13:56:23 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3990416A41F for ; Sat, 8 Oct 2005 13:56:23 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8531743D45 for ; Sat, 8 Oct 2005 13:56:22 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.3/8.13.3) with ESMTP id j98DtsEM033901; Sat, 8 Oct 2005 17:55:54 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Sat, 8 Oct 2005 17:55:54 +0400 (MSD) From: Maxim Konovalov To: Yar Tikhiy In-Reply-To: <20051008134703.GA25960@comp.chem.msu.su> Message-ID: <20051008175423.B33867@mp2.macomnet.net> References: <20051008134703.GA25960@comp.chem.msu.su> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: hackers@freebsd.org Subject: Re: SENDMAIL_MC & making world X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 13:56:23 -0000 On Sat, 8 Oct 2005, 17:47+0400, Yar Tikhiy wrote: > All, > > 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. -- Maxim Konovalov