Getting proper dependency order using port command
Artur Szostak
aszostak at partner.eso.org
Mon Nov 9 11:18:10 PST 2015
Thanks. That makes things much simpler.
________________________________________
From: Joshua Root [jmr at macports.org]
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
More information about the macports-dev
mailing list