variant +foo description etc

Joshua Root jmr at
Sat May 23 18:17:00 PDT 2015

On 2015-5-24 00:21 , Rainer Müller wrote:
> On 2015-05-22 13:31, René J.V. Bertin wrote:
>> Is there a reason why the parser doesn't bark when one declares a
>> variant with a name that starts with a +? It took me a while to find
>> that as the reason for a variant that seemingly didn't want to get
>> set while `port info` showed it as a default variant ...
> 'port lint' already reports such a variant. However, it seems reasonable
> to reject such a name completely.

Note that this is technically a compatibility break. Using + or - in
variant names was always right out of course, but lots of other "funny"
characters would have worked fine.

- Josh

More information about the macports-dev mailing list