Well, that is not the current behavior if a variant is specified manually.
What happens is:

port install A +var

does

port install B +var && port install A +var.

Why do you think it would be inappropriate to do that for default variants?

On Mon, Apr 11, 2016 at 11:47 AM, Daniel J. Luke <[email protected]> wrote:

> On Apr 10, 2016, at 4:01 AM, Takeshi Enomoto <[email protected]> wrote:
> > If there is a reason behind treating default_variants and manually set
> variants,
> > I’d like to know.
>
> I'm not sure what the initial reasoning was, but I think the current
> behavior is correct.
>
> When a port is installed as a dependency of some other port, it should be
> installed the same way as if it were installed manually first.
>
> ie. A requires B:
>
> port install A
> and
>
> port install B && port install A
>
> should result in the same final install.
>
> --
> Daniel J. Luke
>
>
>
> _______________________________________________
> macports-dev mailing list
> [email protected]
> https://lists.macosforge.org/mailman/listinfo/macports-dev
>
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to