diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-10 07:31:42 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-10 07:31:42 +0000 |
commit | f3cceb12c309130998972042e27a2b34981ad31a (patch) | |
tree | 2f4247f60411c4a71e20346652dabca1e56d40b0 /mk | |
parent | defce09e71dfac93e7ba15d42ac92c1cee1a1e55 (diff) | |
download | pkgsrc-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-x | mk/flavor/pkg/reduce-depends.awk | 4 |
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] |