diff options
author | jlam <jlam> | 2007-09-07 22:12:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-09-07 22:12:10 +0000 |
commit | 2f517bc25c1dfd477877da169af65a161a689211 (patch) | |
tree | e65f4ff0343b21db10e01b4ee2a8fa56a72846a8 /mk/scripts | |
parent | 3045177d1ce3c7d590e5aaa6d5777696d6f55aa6 (diff) | |
download | pkgsrc-2f517bc25c1dfd477877da169af65a161a689211.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/scripts')
-rwxr-xr-x | mk/scripts/mkreadme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/scripts/mkreadme b/mk/scripts/mkreadme index caf4d4b83e7..cb823b4adbb 100755 --- a/mk/scripts/mkreadme +++ b/mk/scripts/mkreadme @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: mkreadme,v 1.17 2007/08/02 22:42:05 adrianp Exp $ +# $NetBSD: mkreadme,v 1.18 2007/09/07 22:12:16 jlam Exp $ # # Script for README.html generation # @@ -471,7 +471,7 @@ echo " " cd ${PKGSRCDIR} ipv6=${TMPDIR}/ipv6pkgs ipv6_entries=${TMPDIR}/ipv6_entries -${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 +${GREP} -l -e '^BUILD_DEFS.*=.*IPV6_READY' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' -e '^USE_FEATURES.*=.*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}" \ |