Dual licensing syntax

Joshua Root jmr at macports.org
Wed Mar 9 16:30:28 PST 2011

On 2011-3-10 07:36 , Jordan K. Hubbard wrote:
> On Mar 9, 2011, at 6:30 AM, Jeremy Lavergne wrote:
>>> license		Artistic|GPL BSD
>>> Any objections or better ideas?
>> Could we make use of Tcl and create an array to indicate this logic?
>> {lic1 lic2} vs {{lic1} {lic2}}
> That was going to be my suggestion too.  Then you can just use the Tcl list logic to extract the different licenses rather than having to parse string separators - yuck.

I'll have to experiment a bit, but I suspect the way options are handled
(involving concat) might make this difficult.

- Josh

More information about the macports-dev mailing list