Auto-variants

Blair Zajac blair at orcaware.com
Sun Aug 7 18:17:55 PDT 2011


On Aug 7, 2011, at 4:57 PM, Bradley Giesbrecht wrote:

> 
> On Aug 7, 2011, at 3:57 PM, Blair Zajac wrote:
> 
>> 
>> On Aug 7, 2011, at 3:50 PM, Jeremy Huddleston wrote:
>> 
>>> That works around the problem for *this* case, but the problem (in general) has been around for a long time.  I don't think "auto variants" is what you need.  The solution is to add variants to dependencies, so one could say something like this to require that the rpm52 port be built with the cpio variant:
>>> 
>>> depends_build.append  port:rpm52+cpio
>>> 
>>> I thought there was a GSOC about this at some point… ?
>> 
>> That's not really what I want.  I'm happy with the ports I have installed now and if I need to install another port, then if it can use the ports I have installed, it should, otherwise I don't want to build the dependency.  I don't want to go through all ports all the time and check out the variants.  I guess this is me being lazy, but that's what a port system is for, isn't it :)
> 
> Blair: I thought you were meaning: IF +cpio was not specified BUT port cpio is activated than add cpio to rpm52 DEFAULT variants.

Yes, that's I mean.

Blair



More information about the macports-dev mailing list