port variant requires

Bradley Giesbrecht brad at pixilla.com
Wed Mar 24 16:12:21 PDT 2010


On Mar 24, 2010, at 4:09 PM, Ryan Schmidt wrote:

>
> On Mar 24, 2010, at 18:00, Bradley Giesbrecht wrote:
>
>> man portfile says:
>>
>> variant [requires variant] [conflicts variant] [description  
>> description]
>>
>>
>>
>> Is this written as so?
>>
>> variant foo {}
>>
>> variant bar requires foo {}
>
> Yes, exactly. When the user selects variant +bar, MacPorts will then  
> automatically select variant +foo as well.

Ah, I was expecting an error and wasn't getting one.

That'll work.

Thanks,
Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100324/4b51fecf/attachment.html>


More information about the macports-users mailing list