From owner-freebsd-current@FreeBSD.ORG Fri Oct 12 07:54:06 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A10910B2 for ; Fri, 12 Oct 2012 07:54:06 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp11.smtpout.orange.fr [80.12.242.133]) by mx1.freebsd.org (Postfix) with ESMTP id 224D98FC0C for ; Fri, 12 Oct 2012 07:54:05 +0000 (UTC) Received: from localhost ([92.156.94.169]) by mwinf5d46 with ME id A7u21k00F3fFKRG037u2eo; Fri, 12 Oct 2012 09:54:04 +0200 Message-ID: <5077CC99.4010104@orange.fr> Date: Fri, 12 Oct 2012 09:54:01 +0200 From: Claude Buisson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.7) Gecko/20120831 Thunderbird/10.0.7 MIME-Version: 1.0 To: matt Subject: Re: [HEADSUP] FYI: patch to ports that do not build with clang has been committed References: <20121010004523.GA15209@lonesome.com> <5075365C.4050400@orange.fr> <507787CF.1090705@gmail.com> In-Reply-To: <507787CF.1090705@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mark Linimon , freebsd-current@FreeBSD.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 12 Oct 2012 07:54:06 -0000 On 10/12/2012 05:00, matt wrote: > >>> >>> I have made changes to ports/Mk/bsd.gcc.mk that allow the addition of >>> "USE_GCC=any" to a port's Makefile, and then committed that change to >>> various ports. In most (but not all!) cases this will tell the port >>> "build with gcc instead of clang" (*) . >>> >> >> Why not USE_GCC ?= any for the poor guys like me who build (some) >> ports with >> USE_GCC=4.6 ? >> >>> For those users with CC installed as gcc (including -stable), this >>> patch should have no effect. Variations of combinations have been >>> heavily tested on pointyhat-west. If there are any regressions, please >>> contact me. >>> >> >> > > Does this override setting CC explicitly in make.conf? > Sorry if it's a dumb question, not sure exactly the hierarchy of USE_GCC > vs CC in the make system. > Dumb as I am, I also wonder when I see that in multimedia/x264: ... USE_GCC= any ... .if ${PORT_OPTIONS:MGCC44} USE_GCC?= 4.4+ .endif ... which seems to deny the intent of the GCC44 option Sorry but I can not make the test at this present time > Matt Claude Buisson