[GSoC] migration

Joshua Root jmr at macports.org
Thu Jul 13 16:09:40 UTC 2017


On 2017-7-14 01:42 , Arno Hautala wrote:
> On Thu, Jul 13, 2017 at 11:34 AM, Joshua Root <jmr at 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


More information about the macports-dev mailing list