svn commit: r388648 - in head/net: asterisk11 asterisk13

Adam Weinberger adamw at adamw.org
Mon Nov 9 15:29:05 UTC 2015


> On 9 Nov, 2015, at 5:01, Gerald Pfeifer <gerald at pfeifer.com> wrote:
> 
> On Sun, 8 Nov 2015, Adam Weinberger wrote:
>> What are some of the other common intentions of a GCC option?
> 
> Here is the full list I found:
> 
> cad/ghdl/Makefile:GCC_DESC=		Code generator is GCC  (mature)
> lang/erlang-runtime15/Makefile:GCC_DESC=	Use current GCC
> lang/erlang-runtime16/Makefile:GCC_DESC=	Use current GCC
> lang/erlang-runtime17/Makefile:GCC_DESC=	Use current GCC
> lang/erlang-runtime18/Makefile:GCC_DESC=	Use current GCC
> lang/erlang/Makefile:GCC_DESC=	Use current GCC
> lang/gambit-c/Makefile:GCC_DESC=	Build with GCC
> lang/ghc/Makefile:GCC_DESC=		Build with GCC (from ports)
> lang/ghc/bsd.cabal.options.mk:GCC_DESC=		Build with GCC (from 
> ports)
> multimedia/x264/Makefile:GCC_DESC=		Use current GCC
> net/asterisk11/Makefile:GCC_DESC=	Use GCC from ports
> net/asterisk13/Makefile:GCC_DESC=	Use GCC from ports
> security/cryptopp/Makefile:GCC_DESC=		Build with current GCC
> www/mod_spdy/Makefile:GCC_DESC=	Build with current GCC
> 
> 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"?
> 
> 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).
> 
> 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.
> 
> Sooo, any objections towards adding the following
> 
> Index: Mk/bsd.options.desc.mk
> ===================================================================
> --- Mk/bsd.options.desc.mk	(revision 401088)
> +++ Mk/bsd.options.desc.mk	(working copy)
> @@ -102,6 +102,7 @@
> FTP_DESC?=		FTP protocol support
> FTPS_DESC?=		FTP with SSL/TLS support
> FUSE_DESC?=		FUSE (Filesystem in Userspace) support
> +GCC?=			Build with current GCC
> GCONF_DESC?=		GConf configuration backend support
> GCRYPT_DESC?=		Use GNU crypt library instead of OpenSSL
> GD_DESC?=		GD graphics library support
> 
> and removing GCC_DESC= from all Makefiles except for cad/ghdl/Makefile?
> 
> Gerald
> 

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


-- 
Adam Weinberger
adamw at adamw.org
http://www.adamw.org




More information about the svn-ports-all mailing list