Port upgrade and existing options

Joshua Root jmr at macports.org
Tue Mar 16 07:53:16 PDT 2010

On 2010-3-17 01:41 , Scott Haneda wrote:
> I ran port outdatded and have a pretty good sized list. Some are
> critical , others not. Critical apps will not get upgraded today.
> Nom critical will.
> Do I need to figure out what options I applied to the outdated ports
> when I first installed?
> Or for example, if php5 was installed +universal, on port upgrade php5
> will it be upgraded with +universal as well as all the other +bits I
> needed at the time?

Variants are preserved on upgrade except for those that are in
default_variants or variants.conf and not enabled in the installed port.
In this case you have to specify -foo on the command line when you
upgrade to make sure the foo variants stays disabled. This is fixed in

- Josh

More information about the macports-users mailing list