Change detection of IPv6-enabled packages by searching for trunk
authorhubertf <hubertf@pkgsrc.org>
Thu, 30 Mar 2000 13:01:49 +0000
branchtrunk
changeset 10937 396d066d6a96
parent 10936 dcda56fe4149
child 10938 ed783390856a
Change detection of IPv6-enabled packages by searching for "^BUILD_DEFS.*=.*USE_INET6" instead of just "USE_INET6" in the pkg's Makefile. Suggested by Jun-ichiro itojun Hagino <itojun@iijlab.net> on tech-pkg.
Makefile
--- a/Makefile	Thu Mar 30 12:13:13 2000 +0000
+++ b/Makefile	Thu Mar 30 13:01:49 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2000/02/25 01:04:11 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2000/03/30 13:01:49 hubertf Exp $
 # FreeBSD Id: Makefile,v 1.35 1997/08/19 07:10:01 fenner Exp
 #
 
@@ -130,7 +130,8 @@
 	fi
 
 README-IPv6.html:
-	@grep -l USE_INET6 */*/Makefile | sed s,.Makefile,, >$@.pkgs
+	@grep -l '^BUILD_DEFS.*=.*USE_INET6' */*/Makefile \
+	 | sed s,.Makefile,, >$@.pkgs
 	@fgrep -f $@.pkgs README-all.html | sort -t/ +1 >$@.trs
 	@cat templates/README.ipv6 \
 	| ${SED} \