order of dependencies

Doug Barton dougb at FreeBSD.org
Tue Aug 14 19:42:51 PDT 2007


On Fri, 10 Aug 2007, Alexey Rubtsov wrote:

> Hello All!.
>
> The target all-depends-list from bsd.ports.mk print dependencies in not 
> correct order. In this target dependencies was looked from up to down 
> and do not check dependencies whoes already checked(for reduce execution 
> time). As result - order of dependencies is incorrect.

As far as I can see, you didn't get a reply, so I'll take a shot at it. I 
don't think what you're asking for is really possible, since by nature the 
dependencies have to be searched recursively.

Ports tools like portmaster ignore the order that they are returned in, 
and do a depth-first traversal of all dependencies, internally recording 
those that are already up to date.


hope this helps,

Doug

-- 

     This .signature sanitized for your protection



More information about the freebsd-ports mailing list