Thanks. That makes things much simpler.

________________________________________
From: Joshua Root [[email protected]]
Sent: 09 November 2015 20:02
To: Artur Szostak; MacPorts Development
Subject: Re: Getting proper dependency order using port command

On 2015-11-10 04:35 , Artur Szostak wrote:
> Hi,
>
> I do not see the documentation indicating the options --follow-dependents or 
> --follow-dependencies for the "port deactivate" command. Therefore I need to 
> run the deactivate command on one port at a time in the proper order.
> How can I get the post-order depth first search of the dependency tree from 
> the command line, e.g. the one produced with "port rdeps"? Is there perhaps a 
> flag to the port command that I have missed?

The deactivate action always internally sorts multiple ports into the
correct order.

To deactivate a port 'foo' and all its dependents you run:

sudo port deactivate foo rdependentof:foo

- Josh
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to