From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 18:39:07 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7EA9106572D for ; Fri, 4 Jun 2010 18:39:07 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id BE5E48FC1B for ; Fri, 4 Jun 2010 18:39:06 +0000 (UTC) Received: by iwn5 with SMTP id 5so1685030iwn.13 for ; Fri, 04 Jun 2010 11:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=QPyTY4r9jKsDORzuuFYwrSxP7FcxiD/sMqnf1mg/k+4=; b=n99UTOO8a9AzxH3XmDPd9FB7F4v/uNLh1ha2L8EFo6hLyVnwsYRiTtxd6C7xiNJzbQ VVYCRqRpfpOJQOD9RSe2Kwug99q6S9i8/vvRyVQRy3M/grObGs+yChpLFgblX9eyFe57 KP40mzTLF521PyixOJfNTyXEDwc+cLJoBrm3w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=GahevRcglkE5s2Bhf2EW+wadj1B+aUwLhWNfXpL3CyEs8F89bFDA0O1125xwvqxQHe dAuljaTgiMvv+M+svCDoxVoiD2T2Jcs9tR85y8w2PiCAZqsb/Wc7GKFw3/nlFheKHSSn zIwsE3AZVwn0yXtEVKEQy5GPL7uo3rDsI7G1Q= MIME-Version: 1.0 Received: by 10.231.59.80 with SMTP id k16mr1242044ibh.114.1275676746014; Fri, 04 Jun 2010 11:39:06 -0700 (PDT) Received: by 10.231.16.137 with HTTP; Fri, 4 Jun 2010 11:39:05 -0700 (PDT) In-Reply-To: <4C093E01.7020909@FreeBSD.org> References: <4C093E01.7020909@FreeBSD.org> Date: Fri, 4 Jun 2010 11:39:05 -0700 Message-ID: From: Freddie Cash To: FreeBSD-Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 'buildworld' not always pulling in /etc/src.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 18:39:08 -0000 On Fri, Jun 4, 2010 at 10:55 AM, Doug Barton wrote: > On 06/04/10 10:46, Alexander Best wrote: > >> src.conf should ALWAYS take priority over make.conf when >> buildworld or buildkernel is being run. >> > > Defining the same variables in different contexts is always a recipe for > the dreaded "unpredictable results." Even if it were possible to create the > proper rules to enforce what you're asking for allowing users to rely on it > would just be encouraging bad habits. Wouldn't it be great, if /etc/make.conf disappeared completely? To be replaced by /etc/src.conf for buildworld/kernel stuff. And /etc/ports.conf for ports building stuff. With no linkage of any kind between the two, with all the "magic" hidden in /usr/ports/Mk and /usr/share/Mk. Maybe I'm dreaming, but wouldn't it make things a lot simpler in the long run? One could set all the weird and wonderful CPU* variables they want in /etc/ports.conf, and leave /etc/src.conf as generic as possible, without worrying about how one affects the other. Then you get a nice optimised app installation env, with a nice stable base. Seems like the next logical progression now that src.conf has appeared. :) -- Freddie Cash fjwcash@gmail.com