File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1562,7 +1562,9 @@ match macports.conf.default."
1562
1562
# Default arch to build for
1563
1563
if {![info exists build_arch]} {
1564
1564
if {$os_platform eq " darwin" } {
1565
- if {$os_major >= 20} {
1565
+ if {$os_arch eq " powerpc" } {
1566
+ set build_arch ppc
1567
+ } elseif {$os_major >= 20} {
1566
1568
if {$os_arch eq " arm" || (![catch {sysctl sysctl.proc_translated} translated] && $translated )} {
1567
1569
set build_arch arm64
1568
1570
} else {
@@ -1575,11 +1577,7 @@ match macports.conf.default."
1575
1577
set build_arch i386
1576
1578
}
1577
1579
} else {
1578
- if {$os_arch eq " powerpc" } {
1579
- set build_arch ppc
1580
- } else {
1581
- set build_arch i386
1582
- }
1580
+ set build_arch i386
1583
1581
}
1584
1582
} else {
1585
1583
switch -glob $tcl_platform(machine) {
You can’t perform that action at this time.
0 commit comments