Hi List,
Based on the rebuildorder script by Allen McRae (1) I've written a script
which determines, given a list of packages, the order in which they should
be built. A package x that depend on package y is always below y on the
list, for any package y x depends on.
This script can also include the makedeps of a package in the list. That
is, if a package x has a makedepend on y, y is added to the list as well,
before x and after any dependencies it may have.
When you find a bug, let me know.
Have fun with it.
Greetings/Groetjes
Mark Pustjens
(1) http://allanmcrae.com/scripts/rebuildorder