Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Dan McMahill <dmcmahill@netbsd.org>
List: source-changes
Date: 06/28/2000 09:05:48
Module Name:	pkgsrc
Committed By:	dmcmahill
Date:		Wed Jun 28 16:05:47 UTC 2000

Modified Files:
	pkgsrc/mk: bsd.pkg.mk

Log Message:
rework how the DEPENDS tree is traversed in the 'clean-depends' target.
now, each branch is only traversed once instead of possibly multiple times.

depending on the size of the DEPENDS list, the speedup is _huge_.  For example
   make clean CLEANDEPENDS=yes
in x11/gnome now takes around 12 minutes instead of 4 hours on a DECstation
5000/240.

Thanks to Hubert for help and suggestions on this.  Look for more changes to
come as this same problem exists in other areas.


To generate a diff of this commit:
cvs rdiff -r1.489 -r1.490 pkgsrc/mk/bsd.pkg.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.