pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Recognize inet6 in PKG_SUPPORTED_OPTIONS as an indicator



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2619f1708a3
branches:  trunk
changeset: 495006:a2619f1708a3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jun 01 17:45:57 2005 +0000

description:
Recognize inet6 in PKG_SUPPORTED_OPTIONS as an indicator
that a package support IPv6 (for the README-IPv6.html generation).

diffstat:

 Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r ca4c52f53943 -r a2619f1708a3 Makefile
--- a/Makefile  Wed Jun 01 17:27:22 2005 +0000
+++ b/Makefile  Wed Jun 01 17:45:57 2005 +0000
@@ -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 @@
        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= \\";                                      \



Home | Main Index | Thread Index | Old Index