Changeset 81686
- Timestamp:
- 08/04/11 05:43:24 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl
r81670 r81686 3450 3450 if {$will_build} { 3451 3451 # install version_in_tree (but don't activate yet) 3452 if {$is_revupgrade_second_run} {3453 # disable following dependencies if in rebuild step of rev-upgrade3454 set oldnodeps [macports::global_option_isset port_nodeps]3455 set macports::global_options(port_nodeps) yes3456 }3457 3452 if {[catch {set result [mportexec $workername install]} result] || $result != 0} { 3458 3453 if {[info exists ::errorInfo]} { … … 3462 3457 catch {mportclose $workername} 3463 3458 return 1 3464 }3465 if {$is_revupgrade_second_run} {3466 if {!$oldnodeps} {3467 unset -nocomplain macports::global_options(port_nodeps)3468 }3469 3459 } 3470 3460 } … … 3974 3964 array set variations $variants 3975 3965 3966 # set rev-upgrade options and nodeps if this is not the first run 3976 3967 set macports::global_options(ports_revupgrade) "yes" 3968 unset -nocomplain macports::global_options(ports_nodeps) 3977 3969 unset -nocomplain macports::global_options(ports_revupgrade_second_run) 3978 3970 if {$broken_port_counts([$port name]) > 1} { 3979 3971 set macports::global_options(ports_revupgrade_second_run) yes 3972 set macports::global_options(ports_nodeps) yes 3980 3973 } 3981 3974
Note: See TracChangeset
for help on using the changeset viewer.

