summaryrefslogtreecommitdiffstats
path: root/library/platform/platform.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-25 21:27:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-25 21:27:04 (GMT)
commit4eaf0af8f2be1a74c73507138193543e47165584 (patch)
treeaf2bf7e5f2a9e882d478d7853ab28263e9c5988b /library/platform/platform.tcl
parent71c68757ce70e3ab6cc87a226791ab598efb9bb4 (diff)
downloadtcl-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.tcl11
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} {