summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorriastradh <riastradh>2013-05-09 23:37:25 +0000
committerriastradh <riastradh>2013-05-09 23:37:25 +0000
commit36ba7b2f77ddde1c0c1e41f188c4c48a1a921ea1 (patch)
treeeef7f13a77e111e43481a085f3d5cf0aabb03aa6 /mk/scripts
parent4128a9085a4b9ff3a0e41234d236b1c0f30b08d5 (diff)
downloadpkgsrc-36ba7b2f77ddde1c0c1e41f188c4c48a1a921ea1.tar.gz
Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.
Build depends are target packages that are needed at build-time for, e.g., static libraries to link against, header files to include, &c. Tool depends are native packages that are needed at build-time for, e.g., compilers/linkers/&c. to run. ok agc
Diffstat (limited to 'mk/scripts')
-rwxr-xr-xmk/scripts/genindex.awk3
-rwxr-xr-xmk/scripts/genreadme.awk4
2 files changed, 5 insertions, 2 deletions
diff --git a/mk/scripts/genindex.awk b/mk/scripts/genindex.awk
index 9e7f1a08631..951115a8403 100755
--- a/mk/scripts/genindex.awk
+++ b/mk/scripts/genindex.awk
@@ -1,5 +1,5 @@
#!/usr/bin/awk -f
-# $NetBSD: genindex.awk,v 1.7 2008/09/07 11:13:51 wiz Exp $
+# $NetBSD: genindex.awk,v 1.8 2013/05/09 23:37:27 riastradh Exp $
#
# Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -61,6 +61,7 @@ BEGIN {
#depends /usr/pkgsrc/math/scilab xless-[0-9]*:../../x11/xless pvm-3.4.3:../../parallel/pvm3
#
+# XXX Need to handle BUILD_DEPENDS/TOOL_DEPENDS split.
/^(build_)?depends / {
#
# Read in the entire depends tree
diff --git a/mk/scripts/genreadme.awk b/mk/scripts/genreadme.awk
index 96ae1f3aead..0f69631ca09 100755
--- a/mk/scripts/genreadme.awk
+++ b/mk/scripts/genreadme.awk
@@ -1,5 +1,5 @@
#!/usr/bin/awk -f
-# $NetBSD: genreadme.awk,v 1.34 2010/07/21 12:29:46 spz Exp $
+# $NetBSD: genreadme.awk,v 1.35 2013/05/09 23:37:27 riastradh Exp $
#
# Copyright (c) 2002, 2003, 2005, 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -406,6 +406,8 @@ END {
close( binpkgs_file );
}
+ # XXX Need to handle BUILD_DEPENDS/TOOL_DEPENDS
+ # split.
if( line ~/%%BUILD_DEPENDS%%/ ) {
gsub(/%%BUILD_DEPENDS%%/, "", line);
while((getline < htmldeps_file) > 0) {