From owner-svn-ports-head@freebsd.org Mon Nov 9 07:01:31 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6842A2A324; Mon, 9 Nov 2015 07:01:31 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6BCFF15F6; Mon, 9 Nov 2015 07:01:30 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3nvNXJ6pyrzZsv; Mon, 9 Nov 2015 08:01:20 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id MVa7Ee7GHPcj; Mon, 9 Nov 2015 08:01:18 +0100 (CET) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Mon, 9 Nov 2015 08:01:17 +0100 (CET) Subject: Re: svn commit: r388648 - in head/net: asterisk11 asterisk13 To: Gerald Pfeifer References: <201506052330.t55NUBZL020965@svn.freebsd.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org From: Guido Falsi Message-ID: <564044BC.5050203@FreeBSD.org> Date: Mon, 9 Nov 2015 08:01:16 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2015 07:01:31 -0000 On 11/08/15 20:01, Gerald Pfeifer wrote: > On Fri, 5 Jun 2015, Guido Falsi wrote: >> Author: madpilot >> Date: Fri Jun 5 23:30:10 2015 >> New Revision: 388648 >> URL: https://svnweb.freebsd.org/changeset/ports/388648 >> >> Log: >> - Update asterisk11 to 11.18.0 >> - Update asterisk13 to 13.4.0 >> - Add experimental option to allow using base compiler instead of >> ports gcc (mainly meant to allow compiling with clang) > > Note, it's GCC these days (and I just checked, the other cases > in the ports tree use this spelling), so I went ahead and made > this change to these two ports. I have no objection with your change, I waa unsure what spelling to use when I added that option. > > Perhaps we can abstract this into a global GCC_DESC at one point? > As someone already expressed it's not easy. Asterisk uses it to mean the pretty standard "Use GCC to compile this, even if clang is available". Problem is sometimes GCC is used to mean "any GCC, GCC from base is ok" some other times it means "I want a modern GCC, GCC from base isn't good enough". Descriptions aren't always making this really clear also. In recent releases asterisk can be compiled with clang, but I have observed it core dump sometimes when compiled with clang, while working flawlessly with gcc so I left the default there. IMHO usually the GCC option should be meant to be used when one wants GCC from ports, while using a base compiler should should be a default or the alternative. -- Guido Falsi