From owner-svn-ports-all@freebsd.org Mon Nov 9 15:29:05 2015 Return-Path: Delivered-To: svn-ports-all@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 65CB9A2ADC8; Mon, 9 Nov 2015 15:29:05 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [204.109.59.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "abg.ninja", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D111B1CA3; Mon, 9 Nov 2015 15:29:04 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id 6db64884 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; Mon, 9 Nov 2015 08:29:00 -0700 (MST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: svn commit: r388648 - in head/net: asterisk11 asterisk13 From: Adam Weinberger In-Reply-To: Date: Mon, 9 Nov 2015 08:28:58 -0700 Cc: Alexey Dokuchaev , Guido Falsi , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <077EDBDC-8EF1-44FA-9D17-90345C2956F5@adamw.org> References: <201506052330.t55NUBZL020965@svn.freebsd.org> <564044BC.5050203@FreeBSD.org> To: Gerald Pfeifer X-Mailer: Apple Mail (2.3096.5) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2015 15:29:05 -0000 > On 9 Nov, 2015, at 5:01, Gerald Pfeifer wrote: >=20 > On Sun, 8 Nov 2015, Adam Weinberger wrote: >> What are some of the other common intentions of a GCC option? >=20 > Here is the full list I found: >=20 > cad/ghdl/Makefile:GCC_DESC=3D Code generator is GCC (mature) > lang/erlang-runtime15/Makefile:GCC_DESC=3D Use current GCC > lang/erlang-runtime16/Makefile:GCC_DESC=3D Use current GCC > lang/erlang-runtime17/Makefile:GCC_DESC=3D Use current GCC > lang/erlang-runtime18/Makefile:GCC_DESC=3D Use current GCC > lang/erlang/Makefile:GCC_DESC=3D Use current GCC > lang/gambit-c/Makefile:GCC_DESC=3D Build with GCC > lang/ghc/Makefile:GCC_DESC=3D Build with GCC (from ports) > lang/ghc/bsd.cabal.options.mk:GCC_DESC=3D Build with GCC = (from=20 > ports) > multimedia/x264/Makefile:GCC_DESC=3D Use current GCC > net/asterisk11/Makefile:GCC_DESC=3D Use GCC from ports > net/asterisk13/Makefile:GCC_DESC=3D Use GCC from ports > security/cryptopp/Makefile:GCC_DESC=3D Build with = current GCC > www/mod_spdy/Makefile:GCC_DESC=3D Build with current GCC >=20 > On Mon, 9 Nov 2015, Alexey Dokuchaev wrote: >> OTOH, those cases should be a minority, so having sensible defaul = GCC_DESC >> makes sense after all. Shall it be "Use GCC from ports" or "Build = with >> current GCC"? >=20 > Looking at the above I'd vouch for "Build with current GCC" which > should work for all but cad/ghdl. Which can easily keep it's current > wording (and thus override the default). >=20 > On Mon, 9 Nov 2015, Guido Falsi wrote: >> 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. >=20 > Sooo, any objections towards adding the following >=20 > Index: Mk/bsd.options.desc.mk > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- Mk/bsd.options.desc.mk (revision 401088) > +++ Mk/bsd.options.desc.mk (working copy) > @@ -102,6 +102,7 @@ > FTP_DESC?=3D FTP protocol support > FTPS_DESC?=3D FTP with SSL/TLS support > FUSE_DESC?=3D FUSE (Filesystem in Userspace) support > +GCC?=3D Build with current GCC > GCONF_DESC?=3D GConf configuration backend support > GCRYPT_DESC?=3D Use GNU crypt library instead of OpenSSL > GD_DESC?=3D GD graphics library support >=20 > and removing GCC_DESC=3D from all Makefiles except for = cad/ghdl/Makefile? >=20 > Gerald >=20 What about "Build with current GCC (from ports)"? With or without those parentheses. Then people know that they're about to build/install a new compiler, = which is a large and time-consuming dependency. # Adam --=20 Adam Weinberger adamw@adamw.org http://www.adamw.org