subport and keyword questions/suggestions

Mojca Miklavec mojca at macports.org
Mon Feb 16 02:04:00 PST 2015


On Mon, Feb 16, 2015 at 10:03 AM, René J.V. wrote:
>
> I cannot recall exactly all the reasons why it's intended that ports cannot depend on another port's variant

One port can easily depend on another port's variant, but it cannot
enforce that variant on another port. (All it can do is give up.)

If port A depends on "B +foo" and if +foo is not B's default variant,
building A will fail on the buildbot. Even if +foo is B's default
variant and the user installs "B -foo", installing A won't work
without manually reinstalling "B +foo".

Mojca


More information about the macports-dev mailing list