passing default variants to dependencies?

Joshua Root jmr at macports.org
Sun Nov 16 14:01:17 PST 2014


On 2014-11-17 08:52 , David Strubbe wrote:
> Hi all,
> 
> 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?
> 
> Thanks,
> David

No, you can't depend on a variant. This isn't buildbot-specific; anyone
running 'port install octopus' from a fresh installation will see the
same result.

- Josh


More information about the macports-dev mailing list