summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-25 21:32:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-25 21:32:24 (GMT)
commitf1076e8f359a93565e65c5e833597c487470d574 (patch)
tree8aae3a442b2ce908b2edc1d15b4011788d2d3cee /library
parent58583ac83fd364a825038d5dfcdaa7c75aca836b (diff)
parent4eaf0af8f2be1a74c73507138193543e47165584 (diff)
downloadtcl-f1076e8f359a93565e65c5e833597c487470d574.zip
tcl-f1076e8f359a93565e65c5e833597c487470d574.tar.gz
tcl-f1076e8f359a93565e65c5e833597c487470d574.tar.bz2
Merge 8.5
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} {