fix incorrect change to logic in dlist_eval (testcond can return -1)
--- trunk/base/src/macports1.0/macports_dlist.tcl 2014-05-03 01:58:45 UTC (rev 119653)
+++ trunk/base/src/macports1.0/macports_dlist.tcl 2014-05-03 02:03:03 UTC (rev 119654)
@@ -294,7 +294,7 @@
# can evaluate to true.
if {$testcond ne ""} {
foreach ditem $dlist {
- if {[expr [$testcond $ditem]]} {
+ if {[$testcond $ditem] == 1} {
foreach token [ditem_key $ditem provides] {
set statusdict($token) 1
}