Getting proper dependency order using port command
Joshua Root
jmr at macports.org
Mon Nov 9 11:02:55 PST 2015
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
More information about the macports-dev
mailing list