summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-01 18:16:20 +0000
committerwiz <wiz@pkgsrc.org>2005-06-01 18:16:20 +0000
commit96a7a5307eacc9aac536a2be47b8fd114b504011 (patch)
tree7965409e5b79106cd22039979d7e8d56935b86b5 /mk/scripts
parent05db0b4f12374de6730f634efeda094952572809 (diff)
downloadpkgsrc-96a7a5307eacc9aac536a2be47b8fd114b504011.tar.gz
Recognize inet6 in PKG_SUPPORTED_OPTIONS as an indicator
that a package support IPv6 (for the README-IPv6.html generation).
Diffstat (limited to 'mk/scripts')
-rwxr-xr-xmk/scripts/mkreadme4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/scripts/mkreadme b/mk/scripts/mkreadme
index 19b9e5e00d4..4dbc37b8b8e 100755
--- a/mk/scripts/mkreadme
+++ b/mk/scripts/mkreadme
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkreadme,v 1.7 2005/05/22 01:37:31 dmcmahill Exp $
+# $NetBSD: mkreadme,v 1.8 2005/06/01 18:16:20 wiz Exp $
#
# Script for README.html generation
#
@@ -419,7 +419,7 @@ echo " "
cd ${PKGSRCDIR}
ipv6=${TMPDIR}/ipv6pkgs
ipv6_entries=${TMPDIR}/ipv6_entries
-${GREP} -l '^BUILD_DEFS.*=.*USE_INET6' */*/Makefile | ${SED} 's;Makefile;;g' > $ipv6
+${GREP} -l -e '^BUILD_DEFS.*=.*USE_INET6' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' */*/Makefile */*/options.mk | ${SED} -e 's;Makefile;;g' -e 's;options.mk;;g' > $ipv6
${FGREP} -f $ipv6 README-all.html | sort -t/ +1 > $ipv6_entries
${SED} \
-e "/%%TRS%%/r${ipv6_entries}" \