On 2014-8-21 03:28 , Adam Dershowitz Ph.D., P.E. wrote:
> 
> 
> On Aug 20, 2014, at 1:22 PM, Joshua Root <j...@macports.org> wrote:
> 
>>> I had OpenSceneGraph installed, but, for another application I was testing, 
>>> I needed a universal version.  So, I did 
>>> sudo port install OpenSceneGraph +universal  
>>> It then proceeded to upgrade MANY things to universal.  I hadn’t realized 
>>> how many dependencies there were.
>>> My question is, is there a way to undo that?  If I am done with that 
>>> testing, so I no longer need the universal version of OpenScenegraph (and 
>>> then the many dependencies).  If I just do:
>>> sudo port deactivate OpenSceneGraph +universal
>>> sudo port activate OpenSceneGraph 
>>> sudo port uninstall OpenSceneGraph +universal
>>> I believe that it would remove that one thing.  But, it won’t then follow 
>>> all the dependencies.  Is there any way to make all the dependencies that 
>>> would no longer have to be universal be removed and just have the original 
>>> versions made active?
>>>
>>> Essentially I am looking for a command:  
>>>     Make OpenSceneGraph and all dependents no longer universal
>>
>> 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.

- Josh
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to