diff options
author | jlam <jlam@pkgsrc.org> | 2006-01-18 03:58:19 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-01-18 03:58:19 +0000 |
commit | ae2c0ee6744587e5332e486d5d61a4c3c20a88b8 (patch) | |
tree | ddd24b3e51c2baee2b6f41206c4a9291a5caf30b /mk/scripts | |
parent | f42d68a6366d4cd5f716d1e7969e455252b89217 (diff) | |
download | pkgsrc-ae2c0ee6744587e5332e486d5d61a4c3c20a88b8.tar.gz |
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.
Diffstat (limited to 'mk/scripts')
-rwxr-xr-x | mk/scripts/depends-depth-first.awk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/scripts/depends-depth-first.awk b/mk/scripts/depends-depth-first.awk index 87ef4c3e25e..087a8cad7e1 100755 --- a/mk/scripts/depends-depth-first.awk +++ b/mk/scripts/depends-depth-first.awk @@ -1,6 +1,6 @@ #!/usr/bin/awk -f # -# $NetBSD: depends-depth-first.awk,v 1.1 2006/01/18 00:10:07 jlam Exp $ +# $NetBSD: depends-depth-first.awk,v 1.2 2006/01/18 03:58:19 jlam Exp $ # # Copyright (c) 2006 The NetBSD Foundation, Inc. # All rights reserved. @@ -82,6 +82,11 @@ # value stored in the PKGSRCDIR environment variable. # # ENVIRONMENT +# +# MAKEFLAGS This contains the shell environment in the format +# required by make(1) that is passed to the process +# that outputs a package's dependencies. +# # PKGSRCDIR This is the location of the pkgsrc directory tree, # which defaults to "/usr/pkgsrc". # |