Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 01/18/2006 03:58:19
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Jan 18 03:58:19 UTC 2006

Modified Files:
	pkgsrc/mk: bsd.utils.mk
	pkgsrc/mk/scripts: depends-depth-first.awk

Log Message:
Pass MAKEFLAGs to the depends-depth-first.awk script, which will be
used by the "make show-depends-pkgpaths" process to short-circuit some
of the rather lengthy computations that are spread throughout bsd.pkg.mk
and files included by bsd.pkg.mk.  This causes the script to speed up
noticeably.

Also, rename the _DEPENDS_DEPTH_FIRST_CMD variable to _DEPENDS_WALK_CMD
for brevity and to allow for other implementations in the future.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/bsd.utils.mk
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/scripts/depends-depth-first.awk

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