pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Alter the pattern to detect upper limits...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/099ca5251fbf
branches:  trunk
changeset: 529755:099ca5251fbf
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jun 10 07:31:42 2007 +0000

description:
Alter the pattern to detect upper limits to actually match some real
patterns. Otherwise the upper bound would silently get dropped.

diffstat:

 mk/flavor/pkg/reduce-depends.awk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 630d449e34ec -r 099ca5251fbf mk/flavor/pkg/reduce-depends.awk
--- a/mk/flavor/pkg/reduce-depends.awk  Sun Jun 10 06:31:39 2007 +0000
+++ b/mk/flavor/pkg/reduce-depends.awk  Sun Jun 10 07:31:42 2007 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/awk -f
 #
-# $NetBSD: reduce-depends.awk,v 1.3 2006/06/06 20:05:44 jlam Exp $
+# $NetBSD: reduce-depends.awk,v 1.4 2007/06/10 07:31:42 joerg Exp $
 #
 # Copyright (c) 2006 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -105,7 +105,7 @@
                for (d = 1; d <= D; d++) {
                        dep = depends[pkgpath, d]
                        if (dep ~ /[{]/ || \
-                           dep ~ />=[0-9]+<[0-9]+/ || \
+                           dep ~ />=[0-9][0-9\.]*<[0-9]+/ || \
                            dep !~ />=[0-9]+/)
                        {
                                reduced[N++] = dep ":" pkgsrcdirs[pkgpath]



Home | Main Index | Thread Index | Old Index