nested port upgrading and variants

René J.V. Bertin rjvbertin at
Thu Oct 27 12:59:45 PDT 2016

On Thursday October 27 2016 14:55:59 Ryan Schmidt wrote:

> > That's what I told Marko too, but we're not talking here about the initial installation. I think that when you already have opencv+qt5+opencv installed, an automatic upgrade to opencv should behave like `port upgrade opencv`. IOW, it should maintain the active variants. Anything else is a waste of time and source of frustration.
> I'm not aware of any reason why that wouldn't happen. MacPorts preserves variants on upgrades.

And neither do I see any reason why the use of the active_variants portgroup would change anything in this matter, but one can never be too sure.

Let's see what Marko has to tell us about the exact command he used that led to opencv being upgraded without its current variants.


More information about the macports-dev mailing list