Changeset 82969
- Timestamp:
- 08/22/11 14:38:49 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl
r82960 r82969 3394 3394 ui_debug "platform mismatch ... upgrading!" 3395 3395 set build_override 1 3396 } elseif {$is_revupgrade_second_run} { 3397 set build_override 1 3398 } elseif {$is_revupgrade} { 3399 # in the first run of rev-upgrade, only activate possibly already existing files and check for missing dependencies 3400 set will_install yes 3396 3401 } else { 3397 3402 if {[info exists portinfo(canonical_active_variants)] && $portinfo(canonical_active_variants) != $oldvariant} { … … 3405 3410 } 3406 3411 set will_install no 3407 if {$is_revupgrade} {3408 set will_install yes3409 }3410 if {$is_revupgrade_second_run} {3411 set build_override 13412 }3413 3412 } 3414 3413 } … … 3826 3825 set i 1 3827 3826 foreach b $binaries { 3828 ui_debug "$i/[llength $binaries]: [$b path]"3827 #ui_debug "$i/[llength $binaries]: [$b path]" 3829 3828 incr i 3830 3829 … … 3836 3835 if {$returncode == $machista::EMAGIC} { 3837 3836 # not a Mach-O file 3838 ui_debug "Error parsing file [$b path]: [machista::strerror $returncode]" 3837 # ignore silently, these are only static libs anyway 3838 #ui_debug "Error parsing file [$b path]: [machista::strerror $returncode]" 3839 3839 } else { 3840 3840 ui_warn "Error parsing file [$b path]: [machista::strerror $returncode]" … … 4088 4088 4089 4089 if {[info exists adjlist($dep)]} { 4090 ui_debug "Dependency [$dep name] is broken, adding edge from [[lindex $stack 0] name] to [$dep name]"4091 ui_debug "Making [$dep name] new head of stack"4090 #ui_debug "Dependency [$dep name] is broken, adding edge from [[lindex $stack 0] name] to [$dep name]" 4091 #ui_debug "Making [$dep name] new head of stack" 4092 4092 # $dep is one of the broken ports 4093 4093 # add an edge to the last broken port in the DFS … … 4101 4101 revupgrade_buildgraph $dep stack adjlist revadjlist visited 4102 4102 if {$is_broken_port} { 4103 ui_debug "Removing [$dep name] from stack"4103 #ui_debug "Removing [$dep name] from stack" 4104 4104 # remove $dep from the stack 4105 4105 set stack [lrange $stack 1 end]
Note: See TracChangeset
for help on using the changeset viewer.

