Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2015 13:01:04 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Adam Weinberger <adamw@adamw.org>, Alexey Dokuchaev <danfe@FreeBSD.org>,  Guido Falsi <madpilot@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r388648 - in head/net: asterisk11 asterisk13
Message-ID:  <alpine.LSU.2.20.1511091255000.2548@anthias>
In-Reply-To: <564044BC.5050203@FreeBSD.org>
References:  <201506052330.t55NUBZL020965@svn.freebsd.org> <alpine.LSU.2.20.1511082001320.2548@anthias> <564044BC.5050203@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.20.1511091255000.2548>