Auto-variants

Jeff Johnson n3npq at mac.com
Sun Aug 7 15:53:36 PDT 2011


On Aug 7, 2011, at 6: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
> 

There's likely a general problem with variants as well. Meanwhile
RPM has a tremendous number of "Have it your own way!" build options,
and when max-ed out can like 70+ libraries.

Not the right place to figger a design flaw in variants imho … your
brain will melt long before you can devise a solution for variants.

73 de Jeff



More information about the macports-dev mailing list