summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorwiz <wiz>2005-06-01 18:16:20 +0000
committerwiz <wiz>2005-06-01 18:16:20 +0000
commit0b68eaf675cab8e22f976063288580865008d396 (patch)
tree7965409e5b79106cd22039979d7e8d56935b86b5 /mk/scripts
parent03fd8e97e5407d67bb7a752df66ea61e8f5fe6e7 (diff)
downloadpkgsrc-0b68eaf675cab8e22f976063288580865008d396.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}" \