Time to abandon recursive pulling of dependencies?

Alexander Leidinger Alexander at Leidinger.net
Thu May 17 11:45:36 UTC 2007

Quoting Alexander Leidinger <Alexander at Leidinger.net> (Thu, 17 May 2007 11:44:36 +0200):

> For the difference between the redirected output case: I think the
> gnome terminal needs a lot of time to print all the lines. But still,
> the awk version takes around 3/4 of the time (interesting is the user
> time, not the total time). Stephen's version can be speed up some
> fractions by inserting a break into the first while-loop.
> Attached is my awk-version and the awk version which also includes the
> direct dependencies.

After a little review: For the awk version the embedded "sort -u" can
be removed (it is done in the PKG_ARGS part), for Stephen's version it
is necessary to cut down processing time in the following part.

It seems the processing of the not installed dependencies has not to be
done, as this target is only used in the PKG_ARGS part and is used in a
way which evaluates the result at the time of the invocation of the
pkg_create program (when the port is installed and all dependencies
should reflect what is on disk).


A work project expands to fill the space available.
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137

More information about the freebsd-ports mailing list