From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 15:54:47 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 367BF1065670 for ; Wed, 2 Jun 2010 15:54:47 +0000 (UTC) (envelope-from hinokind@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id B75098FC1E for ; Wed, 2 Jun 2010 15:54:45 +0000 (UTC) Received: by ewy1 with SMTP id 1so1623514ewy.33 for ; Wed, 02 Jun 2010 08:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:to:subject :references:date:mime-version:content-transfer-encoding:from :message-id:in-reply-to:user-agent; bh=CWFqiQ71jZ2Ye2Jhck6TRsRaYJF6rxVuCWsSsbFu9NU=; b=pmvS6V4RVWGdpY8OO45cBlbTISW1e/4dB1obSHFlIOQFIiaXD7cGTWHZzA0DDBRGMa E0cadix2AWcTd6m8iTr90wxksTMKSIJJHN5WoF5GauUchE6MQHY2tQrDcCpEWylk8zDb rGNVea8o5YriOBLLw0ZLjEFRzQiKsVVK0X1DE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; b=FdcV0N/kTjm39YwxErt9tPWL+HFx9dXpTQjp5mT+hmBoIuvlkiGAZG0eHh2hDRQ4E0 KdCuhPasKxXk0MQCMTYEmic8jmqaTvgKclu6b8BMpalH9vxwau/DPtAORKmPZtEyrHXL p3dVwHd50VxKuqjWCcxZ7HsbrLKvcbysAXhN8= Received: by 10.213.10.195 with SMTP id q3mr5131852ebq.78.1275494084711; Wed, 02 Jun 2010 08:54:44 -0700 (PDT) Received: from klevas (hst-17-80.splius.lt [77.79.17.80]) by mx.google.com with ESMTPS id 15sm4531078ewy.4.2010.06.02.08.54.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 08:54:43 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-current@freebsd.org, "Alexander Best" References: Date: Wed, 02 Jun 2010 18:54:41 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Message-ID: In-Reply-To: User-Agent: Opera Mail/10.60 (FreeBSD) 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: Wed, 02 Jun 2010 15:54:47 -0000 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=gcc44 .endif -- Andrius