diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-10-25 21:27:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-10-25 21:27:04 (GMT) |
commit | 4eaf0af8f2be1a74c73507138193543e47165584 (patch) | |
tree | af2bf7e5f2a9e882d478d7853ab28263e9c5988b /library/platform/platform.tcl | |
parent | 71c68757ce70e3ab6cc87a226791ab598efb9bb4 (diff) | |
download | tcl-4eaf0af8f2be1a74c73507138193543e47165584.zip tcl-4eaf0af8f2be1a74c73507138193543e47165584.tar.gz tcl-4eaf0af8f2be1a74c73507138193543e47165584.tar.bz2 |
Update platform extension for MaxOS Monterey
Diffstat (limited to 'library/platform/platform.tcl')
-rw-r--r-- | library/platform/platform.tcl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/library/platform/platform.tcl b/library/platform/platform.tcl index e01334e..0e92cf8 100644 --- a/library/platform/platform.tcl +++ b/library/platform/platform.tcl @@ -364,6 +364,17 @@ proc ::platform::patterns {id} { foreach {major minor} [split $v .] break set res {} + if {$major eq 12} { + # Add 12.0 to 12.minor to patterns. + for {set j $minor} {$j >= 0} {incr j -1} { + lappend res macosx${major}.${j}-${cpu} + foreach a $alt { + lappend res macosx${major}.${j}-$a + } + } + set major 11 + set minor 5 + } if {$major eq 11} { # Add 11.0 to 11.minor to patterns. for {set j $minor} {$j >= 0} {incr j -1} { |