From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 17:46:15 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 8A5B31065676 for ; Fri, 4 Jun 2010 17:46:15 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 47A4E8FC2A for ; Fri, 4 Jun 2010 17:46:15 +0000 (UTC) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 383C5BF407 for ; Fri, 4 Jun 2010 19:46:14 +0200 (CEST) Received: by gwj23 with SMTP id 23so1427210gwj.13 for ; Fri, 04 Jun 2010 10:46:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.117.41 with SMTP id p41mr8316968ybc.439.1275673572786; Fri, 04 Jun 2010 10:46:12 -0700 (PDT) Received: by 10.150.178.13 with HTTP; Fri, 4 Jun 2010 10:46:12 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Jun 2010 19:46:12 +0200 Message-ID: From: Alexander Best To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: 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 17:46:15 -0000 2010/6/2 Andrius Mork=C5=ABnas : > On Wed, 02 Jun 2010 18:23:19 +0300, Alexander Best > wrote: >> >> it seems for some reason gcc44 gets chosen at some point as compiler >> instead of the base gcc. i DO have CC, CXX and CPP defined in my >> /etc/make.conf so that gcc44 gets used for ports and other stuff. >> HOWEVER /stc/src.conf also contains those three variables and they to >> the base version of gcc. of course commenting out those variables in >> /etc/make.conf fixes the problem, but if i'm not mistaken 'buildworld' >> should use /etc/src.conf at all times and thus should be aware that i >> want it to use base gcc. > > buildworld uses both, src.conf and make.conf, and whatever is in > make.conf pretty much overrides everything else. You can use something > like this to set compiler only for ports: > > .if !empty(.CURDIR:M/usr/ports/*) > CC=3Dgcc44 > .endif thanks for the info. actually i had something like this in my make.conf beforehand as stated in http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-= ports-gcc.html i thought i could get rid of it. imo the current behaviour where make.conf takes priority over src.conf during buildworld is not what users expect. src.conf should ALWAYS take priority over make.conf when buildworld or buildkernel is being run. just my 0,02$. ;) cheers. alex > > -- > Andrius > --=20 Alexander Best