macports1.0: _mportsearchpath returned the wrong filename as the search was not stopped when finding a match, but continued with the next directory. This fixes _get_dep_port in port1.0/portutil.tcl that always got the wrong results from this proc.
--- trunk/base/src/macports1.0/macports.tcl 2013-02-04 13:21:34 UTC (rev 102477)
+++ trunk/base/src/macports1.0/macports.tcl 2013-02-04 13:23:56 UTC (rev 102478)
@@ -1730,6 +1730,10 @@
break
}
}
+
+ if {$found} {
+ break
+ }
}
if {$return_match} {
if {$found} {