No subject
Tue May 3 15:05:30 PDT 2016
> > >> BUT that=E2=80=99s not all yet. Once also needs to select the +c=
ontrib variant,
> > >> otherwise you have to run another loop of building this port! An=
noying
> > >> is
> > >> the word. What=E2=80=99s the reason for this odd behaviour?
> > >=20
> > > There's little I can do about that. digiKam needs +qt5 (evidently=
) but
> > > also +contrib. The only way to increase the chance that opencv is=
> > > installed with those variants by default is to add the variants t=
o
> > > digikam, but that doesn't make a lot of sense. This is due to the=
fact
> > > that ports cannot depend on the variants of another port (unless =
they
> > > have the same variant, but that's propagation, not dependance). T=
hey
> > > can only raise an error if they detect that a dependency is insta=
lled
> > > with the wrong variant(s).
In short: digikam needs port:opencv with +qt5+contrib. I try to impose =
that using
{{{
PortGroup active_variants 1.1
depends_lib-append port:opencv
require_active_variants opencv qt5
require_active_variants opencv contrib
}}}
More information about the macports-dev
mailing list