port variant requires

Ryan Schmidt ryandesign at macports.org
Wed Mar 24 16:37:13 PDT 2010


On Mar 24, 2010, at 18:16, Bradley Giesbrecht wrote:

> On Mar 24, 2010, at 4:09 PM, Ryan Schmidt wrote:
> 
>> On Mar 24, 2010, at 18:00, Bradley Giesbrecht wrote:
>> 
>>> variant foo {}
>>> 
>>> variant bar requires foo {}
>> 
>> Yes, exactly. When the user selects variant +bar, MacPorts will then automatically select variant +foo as well.
> 
> Does foo get acted on first?
> 
> In my case foo needs to be built before bar.

I'm not certain the order in which they get processed. Could you show the actual variants you're writing?



More information about the macports-users mailing list