Getting proper dependency order using port command

Artur Szostak aszostak at partner.eso.org
Mon Nov 9 09:56:32 PST 2015


I think I might have found a solution if someone can confirm the following:
Does the "port rdeps" command print in pre-order depth first?
If so then I can just reverse the order of the printed list.

________________________________________
From: macports-dev-bounces at lists.macosforge.org [macports-dev-bounces at lists.macosforge.org] on behalf of Artur Szostak [aszostak at partner.eso.org]
Sent: 09 November 2015 18:35
To: macports-dev ‎[macports-dev at lists.macosforge.org]‎
Subject: Getting proper dependency order using port command

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?

Kind regards.

Artur
_______________________________________________
macports-dev mailing list
macports-dev at lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


More information about the macports-dev mailing list