Undo universal?
Joshua Root
jmr at macports.org
Wed Aug 20 14:52:25 PDT 2014
On 2014-8-21 03:54 , Brandon Allbery wrote:
> On Wed, Aug 20, 2014 at 1:31 PM, Joshua Root <jmr at macports.org
> <mailto:jmr at macports.org>> wrote:
>
> >> What about:
> >>
> >> sudo port upgrade --enforce-variants OpenSceneGraph -universal
> >>
> >> - Josh
> >>
> >
> > I believe that would just change OpenSceneGraph, not the 35 or so
> dependents. Can anyone verify?
>
> Upgrade is a recursive procedure unless you use the -n option. But if it
> wasn't, you could add rdepof:OpenSceneGraph to the expression.
>
>
> While it's recursive, a dependency being +universal is unlikely to break
> the dependent when it's -universal so I would not expect it to do
> anything by itself.
I'm not quite clear on what you mean here (are you thinking of
rev-upgrade rather than upgrade?), but the --enforce-variants flag means
"make all the ports touched by the upgrade have the variants I'm
specifying". So it will definitely do something unless the variants
already match.
- Josh
More information about the macports-users
mailing list