Auto-variants

Bradley Giesbrecht pixilla at macports.org
Sun Aug 7 17:03:45 PDT 2011


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 is not specified AND port cpio is an activate port; than add cpio to rpm52 ports DEFAULT variants.


Regards,
Bradley Giesbrecht (pixilla)


More information about the macports-dev mailing list