summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-25 21:35:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-25 21:35:22 (GMT)
commit3fd1eadede581f2c8682f502d0ac60aaa63da6ce (patch)
tree397254b4f091c9d0019ae1cee74eaced2ca8856f /library
parent7f8b256581b9fa5564137271b2f24df3ccd5b9fa (diff)
parentf1076e8f359a93565e65c5e833597c487470d574 (diff)
downloadtcl-3fd1eadede581f2c8682f502d0ac60aaa63da6ce.zip
tcl-3fd1eadede581f2c8682f502d0ac60aaa63da6ce.tar.gz
tcl-3fd1eadede581f2c8682f502d0ac60aaa63da6ce.tar.bz2
Merge 8.6
Diffstat (limited to 'library')
-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} {