| | 1395 | # Update the long description to show that the variant is active |
| | 1396 | if {[string first [option os.platform] $name] != 0 |
| | 1397 | && $name != [option os.arch] |
| | 1398 | && [info exists PortInfo(long_description)]} { |
| | 1399 | set terminator "." |
| | 1400 | if {[info exists PortInfo(variant_desc)]} { |
| | 1401 | array set descs $PortInfo(variant_desc) |
| | 1402 | if {[info exists descs($name)]} { |
| | 1403 | set terminator ": $descs($name)\n" |
| | 1404 | } |
| | 1405 | } |
| | 1406 | set PortInfo(long_description) [concat $PortInfo(long_description) "\n(+$name active$terminator)\n"] |
| | 1407 | } |