No subject


Tue May 3 15:05:30 PDT 2016


<br>
&gt; &gt; &gt;&gt; BUT that=E2=80=99s not all yet. Once also needs to selec=
t the +contrib variant,<br>
&gt; &gt; &gt;&gt; otherwise you have to run another loop of building this =
port! Annoying<br>
&gt; &gt; &gt;&gt; is<br>
&gt; &gt; &gt;&gt; the word. What=E2=80=99s the reason for this odd behavio=
ur?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; There&#39;s little I can do about that. digiKam needs +qt5 (=
evidently) but<br>
&gt; &gt; &gt; also +contrib. The only way to increase the chance that open=
cv is<br>
&gt; &gt; &gt; installed with those variants by default is to add the varia=
nts to<br>
&gt; &gt; &gt; digikam, but that doesn&#39;t make a lot of sense. This is d=
ue to the fact<br>
&gt; &gt; &gt; that ports cannot depend on the variants of another port (un=
less they<br>
&gt; &gt; &gt; have the same variant, but that&#39;s propagation, not depen=
dance). They<br>
&gt; &gt; &gt; can only raise an error if they detect that a dependency is =
installed<br>
&gt; &gt; &gt; with the wrong variant(s).<br>
<br>
In short: digikam needs port:opencv with +qt5+contrib. I try to impose that=
 using<br>
<br>
{{{<br>
PortGroup=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0active_variants 1.1<br>
<br>
depends_lib-append=C2=A0 port:opencv<br>
require_active_variants opencv qt5<br>
require_active_variants opencv contrib<br>
}}}<br>
<br>


More information about the macports-dev mailing list