Previously requested variants removed when upgrading with --enforce-variants

Joshua Root jmr at macports.org
Mon Aug 2 03:56:33 PDT 2010


On 2010-8-2 08:00 , Scott Webster wrote:
> Should you normally have to pass the --enforce-variants switch when
> you just want to upgrade everything outdated though?

No. You only need to use --enforce-variants when you want to add or
remove a variant on a non-outdated port. So unless you're specifying
variants on the command line (or changed variants.conf), there's no
point, and you'll just waste cycles rebuilding ports that had platform
variants (removed in 1.9) like +darwin when you installed them. The end
result won't actually be any different.

- Josh


More information about the macports-users mailing list