port variant requires

Ryan Schmidt ryandesign at macports.org
Wed Mar 24 16:09:41 PDT 2010


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.



More information about the macports-users mailing list