summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjlam <jlam>2006-01-18 00:10:07 +0000
committerjlam <jlam>2006-01-18 00:10:07 +0000
commitbe21f34a084362202b9801ec0d9d9467a273dea4 (patch)
treef4fe93f3ca14bb30bc4e732fd5d5db1b7057e3bf /mk/bsd.pkg.mk
parenta04eb75c1b971be69ed219f6f1523cb3b03959cc (diff)
downloadpkgsrc-be21f34a084362202b9801ec0d9d9467a273dea4.tar.gz
Create a standalone awk script, depends-depth-first.awk, that encapsulates
the code that performs the dependency graph traversal (in depth-first fashion). This script has a hook that allows executing a shell command line upon visiting a dependency's package directory in either prefix or postfix order, and may be used to simplify the code in bsd.pkg.mk that iterates over dependencies. This awk script requires the target "show-depends-pkgpaths", which is defined in a new Makefile pkgsrc/mk/bsd.utils.mk. This file should accumulate "utility" targets that current exist in bsd.pkg.mk, i.e., "helper" targets for various actions.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index d2fd8f22845..e213605b4b9 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1788 2006/01/12 23:43:56 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1789 2006/01/18 00:10:07 jlam Exp $
#
# This file is in the public domain.
#
@@ -4742,6 +4742,8 @@ ${DESCR}: ${DESCR_SRC}
.include "../../mk/plist/bsd.plist.mk"
.endif # _USE_PLIST_MODULE
+.include "../../mk/bsd.utils.mk"
+
.include "../../mk/subst.mk"
#