summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2005-06-01 17:45:57 +0000
committerwiz <wiz>2005-06-01 17:45:57 +0000
commit62a33c4243eead32430f7a6f4f87aef15625326f (patch)
treeaf5fbc3a90214ce58ba47de75f5116e7d670cab8 /Makefile
parent1759960e4aa70659e494474c34819a5f37dc6432 (diff)
downloadpkgsrc-62a33c4243eead32430f7a6f4f87aef15625326f.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 'Makefile')
-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= \\"; \