summaryrefslogtreecommitdiff
path: root/mk/flavor
diff options
context:
space:
mode:
authorjlam <jlam>2006-06-06 20:05:44 +0000
committerjlam <jlam>2006-06-06 20:05:44 +0000
commit5fc3fa8fcbd0a04319eb5043e908c18048e4dd78 (patch)
treea6b199915bfca49402f9cc7e977d5b5a20b90ea1 /mk/flavor
parent1697952f397cb9c5eeb312712488d0dec8ea1f1f (diff)
downloadpkgsrc-5fc3fa8fcbd0a04319eb5043e908c18048e4dd78.tar.gz
Add missing "break" that was causing reduce-depends.awk to not do any
reduction except by accident if the "winning" pattern is the last one.
Diffstat (limited to 'mk/flavor')
-rwxr-xr-xmk/flavor/pkg/reduce-depends.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/flavor/pkg/reduce-depends.awk b/mk/flavor/pkg/reduce-depends.awk
index 6ff5bc1d049..21978fc43ff 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.2 2006/06/06 14:19:10 jlam Exp $
+# $NetBSD: reduce-depends.awk,v 1.3 2006/06/06 20:05:44 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -125,6 +125,7 @@ BEGIN {
}
if (match_all == 0) continue
reduced[N++] = dep ":" pkgsrcdirs[pkgpath]
+ break
}
#
# If there are conflicting dependencies, then just pass them