non-existent variants

Clemens Lang cal at
Fri Oct 10 15:43:19 PDT 2014


----- On 10 Oct, 2014, at 23:01, René J.V. Bertin rjvbertin at wrote:

> Is there a reason for this omission?


Consider ports A -> B -> C -> D, where -> is "depends on".

A has no variants, B has +foo, C has +bar and D has +baz

sudo port install A +foo +bar +baz will install
 B +foo
 C +bar
 D +baz,
but we actually don't know which variants exist in a Portfile until we've run
it. To avoid running a Portfile twice, MacPorts doesn't check whether you
actually specified a variant that exists.

Clemens Lang

More information about the macports-users mailing list