summaryrefslogtreecommitdiff
path: root/mk/misc
diff options
context:
space:
mode:
authorjlam <jlam>2007-09-07 22:12:10 +0000
committerjlam <jlam>2007-09-07 22:12:10 +0000
commit8fb7d902eedfbb493ada3287ea8f957d43e32ae3 (patch)
treee65f4ff0343b21db10e01b4ee2a8fa56a72846a8 /mk/misc
parent080f1d43dd82349717f70720539e3bd583864e4a (diff)
downloadpkgsrc-8fb7d902eedfbb493ada3287ea8f957d43e32ae3.tar.gz
Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead. Remaining usage of USE_INET6 was solely for the benefit of the scripts that generate the README.html files. Replace: BUILD_DEFS+= USE_INET6 with BUILD_DEFS+= IPV6_READY and teach the README-generation tools to look for that instead. This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code to continue to support USE_INET6 for pkgsrc-wip until it has been nuked from there as well.
Diffstat (limited to 'mk/misc')
-rw-r--r--mk/misc/toplevel.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/misc/toplevel.mk b/mk/misc/toplevel.mk
index 489f9083e23..bfddf5968a3 100644
--- a/mk/misc/toplevel.mk
+++ b/mk/misc/toplevel.mk
@@ -1,4 +1,4 @@
-# $NetBSD: toplevel.mk,v 1.2 2007/01/07 00:57:36 rillig Exp $
+# $NetBSD: toplevel.mk,v 1.3 2007/09/07 22:12:15 jlam Exp $
#
# This file contains the make targets that can be used from the
# top-level Makefile. They are in this separate file to keep the
@@ -156,7 +156,7 @@ readme-ipv6:
fi
README-IPv6.html:
- @${GREP} -l -e '^BUILD_DEFS.*=.*USE_INET6' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' \
+ @${GREP} -l -e '^BUILD_DEFS.*=.*IPV6_READY' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' -e '^USE_FEATURES.*=.*inet6' \
*/*/Makefile */*/options.mk \
| ${SED} -e s,Makefile,, -e s,options.mk,, >$@.pkgs
@${FGREP} -f $@.pkgs README-all.html | ${SORT} -t/ +1 >$@.trs