summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-01 17:45:57 +0000
committerwiz <wiz@pkgsrc.org>2005-06-01 17:45:57 +0000
commit6469e231c2dabc4fdb3edae536776b2c90cf5616 (patch)
treeaf5fbc3a90214ce58ba47de75f5116e7d670cab8
parentd811860c7bdf86cf985fc17b6cbbae259e111fa8 (diff)
downloadpkgsrc-6469e231c2dabc4fdb3edae536776b2c90cf5616.tar.gz
Recognize inet6 in PKG_SUPPORTED_OPTIONS as an indicator
that a package support IPv6 (for the README-IPv6.html generation).
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index b0f20f83458..cca931f9608 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2005/05/17 21:46:59 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.72 2005/06/01 17:45:57 wiz Exp $
#
# tools used by this Makefile
@@ -216,16 +216,16 @@ readme-ipv6:
fi
README-IPv6.html:
- @${GREP} -l '^BUILD_DEFS.*=.*USE_INET6' */*/Makefile \
- | ${SED} s,Makefile,, >$@.pkgs
+ @${GREP} -l -e '^BUILD_DEFS.*=.*USE_INET6' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' \
+ */*/Makefile */*/options.mk \
+ | ${SED} -e s,Makefile,, -e s,options.mk,, >$@.pkgs
@${FGREP} -f $@.pkgs README-all.html | ${SORT} -t/ +1 >$@.trs
@${CAT} templates/README.ipv6 \
| ${SED} \
-e '/%%TRS%%/r$@.trs' \
-e '/%%TRS%%/d' \
>$@
- @${RM} $@.trs
- @${RM} $@.pkgs
+ @${RM} $@.pkgs $@.trs
show-host-specific-pkgs:
@${ECHO} "HOST_SPECIFIC_PKGS= \\"; \