Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2015 21:04:13 -0700
From:      Adam Weinberger <adamw@adamw.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        Gerald Pfeifer <gerald@pfeifer.com>, Guido Falsi <madpilot@FreeBSD.org>, 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:  <8160653D-E567-42C4-9741-94C593DD62E5@adamw.org>
In-Reply-To: <20151109035010.GB64153@FreeBSD.org>
References:  <201506052330.t55NUBZL020965@svn.freebsd.org> <alpine.LSU.2.20.1511082001320.2548@anthias> <20151109035010.GB64153@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 8 Nov, 2015, at 20:50, Alexey Dokuchaev <danfe@FreeBSD.org> wrote:
> 
> On Sun, Nov 08, 2015 at 08:01:40PM +0100, Gerald Pfeifer wrote:
>> On Fri, 5 Jun 2015, Guido Falsi wrote:
>>> 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.
>> 
>> Perhaps we can abstract this into a global GCC_DESC at one point?
> 
> I've thought of how to word GCC_DESC to make it generic, and had failed.
> IMHO it can mean lots of things throughout the port and not necessarily
> "want GCC from ports".

What are some of the other common intentions of a GCC option?

If an option named GCC has many different meanings, perhaps separating some
of the common usages into two or three common _DESCs would be clearer?
Accuracy and precision make a real end-user difference in options.

I am a huge, huge believer in options should mean the same thing everywhere.
For example, DOCS should mean "go ahead and install supplied documentation."
It should never ever mean "go ahead and install the entire TeX suite so I can
build the documentation after 45 minutes and 5GB of dependencies."

# Adam


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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8160653D-E567-42C4-9741-94C593DD62E5>