[RFC] universal variants and python portgroup

Ryan Schmidt ryandesign at macports.org
Sat Nov 24 02:47:43 PST 2007


I would prefer the more general fix which is proposed in this ticket:

http://trac.macports.org/projects/macports/ticket/12170

Basically, I request that if the port says "use_configure no", the  
default universal variant should disappear.

On Nov 22, 2007, at 23:23, Adam Mercer wrote:

> Anyone want to comment on this?
>
> On 21/11/2007, Adam Mercer wrote:
>
>> As the default universal variant only works with configure based  
>> ports
>> it will therefore not work with ports using the python portgroups
>> e.g.:
>>
>> $ port variants py25-boto
>> py25-boto has the variants:
>>         universal
>> $ sudo port install py25-boto +universal
>> Error: Error executing universal: Default universal variant only  
>> works
>> with ports based on configure
>> Error: Unable to open port: Error evaluating variants
>> $
>>
>> As expected adding "universal_variant no" to the Portfile removes the
>> universal variant. But as all ports using the python portgroups with
>> not be configure based (by default) could this "universal_variant no"
>> be added to the portgroup?
>>
>> I've had this line in my local python portgroups for the past day or
>> so with no adverse effects, but would be interested in hearing what
>> people who understand base much better than I have to say on this?
>> Could this cause any unforeseen effects?


More information about the macports-dev mailing list