summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-10 07:31:42 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-10 07:31:42 +0000
commitf3cceb12c309130998972042e27a2b34981ad31a (patch)
tree2f4247f60411c4a71e20346652dabca1e56d40b0 /mk
parentdefce09e71dfac93e7ba15d42ac92c1cee1a1e55 (diff)
downloadpkgsrc-f3cceb12c309130998972042e27a2b34981ad31a.tar.gz
Alter the pattern to detect upper limits to actually match some real
patterns. Otherwise the upper bound would silently get dropped.
Diffstat (limited to 'mk')
-rwxr-xr-xmk/flavor/pkg/reduce-depends.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/flavor/pkg/reduce-depends.awk b/mk/flavor/pkg/reduce-depends.awk
index 21978fc43ff..9d5d50a2b9d 100755
--- a/mk/flavor/pkg/reduce-depends.awk
+++ b/mk/flavor/pkg/reduce-depends.awk
@@ -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 @@ BEGIN {
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]