| 2025 | if {![info exists portinfo(poison_version)]} { |
| 2026 | ui_error "Invalid port entry for $portname, missing poison_version" |
| 2027 | return 1 |
| 2028 | } |
| 2029 | set poison_version $portinfo(poison_version) |
| 2030 | if { [rpm-vercomp $poison_version $version_installed] > 0 } { |
| 2031 | ui_debug "${portname} ${poison_version} was a significant change and ${portname} ${poison_version} > ${portname} ${version_installed}" |
| 2032 | if {![info exists options(ports_do_dependents)]} { |
| 2033 | ui_debug " upgrading dependents even without -R option" |
| 2034 | } |
| 2035 | if {![info exists options(ports_force)]} { |
| 2036 | ui_debug " forcing upgrade even without -f option" |
| 2037 | } |
| 2038 | set options(ports_do_dependents) 1 |
| 2039 | set options(ports_force) 1 |
| 2040 | } |
| 2041 | |