From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 8 13:47:12 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 86B0C16A41F for ; Sat, 8 Oct 2005 13:47:12 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEAD243D55 for ; Sat, 8 Oct 2005 13:47:08 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.3/8.13.3) with ESMTP id j98Dl49j027124 for ; Sat, 8 Oct 2005 17:47:04 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.3/8.13.3/Submit) id j98Dl47F027123 for hackers@freebsd.org; Sat, 8 Oct 2005 17:47:04 +0400 (MSD) (envelope-from yar) Date: Sat, 8 Oct 2005 17:47:03 +0400 From: Yar Tikhiy To: hackers@freebsd.org Message-ID: <20051008134703.GA25960@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Cc: Subject: 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:47:12 -0000 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? -- Yar