On 2017-7-14 01:42 , Arno Hautala wrote:
On Thu, Jul 13, 2017 at 11:34 AM, Joshua Root <j...@macports.org> wrote:
Depending on a variant is currently impossible.
...
You do have to install the ports in dependency order to get it right, and
that is what restore_ports does. There may be cases where previously
inactive ports don't build due to requiring a specific variant in a
dependency that was also inactive. (Which is equivalent to "you can't depend
on a variant".)
So a port might "require" on a variant, but it can't express that
dependency without user action?
Correct, the best you can do is use the active_variants portgroup which
will detect the problem and ask the user to fix it.
- Josh