passing default variants to dependencies?

Brandon Allbery allbery.b at gmail.com
Sun Nov 16 13:58:17 PST 2014


On Sun, Nov 16, 2014 at 4:52 PM, David Strubbe <dstrubbe at macports.org>
wrote:

> Is there a way to make default variants be passed to dependencies when
> installing them? My octopus port depends on fftw-3 and needs it to be built
> with a Fortran variant. octopus has +gcc48 as default variant, and building
> fftw-3 +gcc48 will work. But on the buildbots it just builds fftw-3 with no
> variant for the dependency, which then does not work. How can I solve this?
>

Take a look at the active_variants PortGroup
(/opt/local/var/macports/sources/
rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/active_variants-1.1.tcl
).

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20141116/49938062/attachment.html>


More information about the macports-dev mailing list