We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b837e42 commit d9adc91Copy full SHA for d9adc91
src/macports1.0/macports.tcl
@@ -1557,7 +1557,9 @@ match macports.conf.default."
1557
# Default arch to build for
1558
if {![info exists build_arch]} {
1559
if {$os_platform eq "darwin"} {
1560
- if {$os_major >= 20} {
+ if {$os_arch eq "powerpc"} {
1561
+ set build_arch ppc
1562
+ } elseif {$os_major >= 20} {
1563
if {$os_arch eq "arm"} {
1564
set build_arch arm64
1565
} else {
@@ -1570,11 +1572,7 @@ match macports.conf.default."
1570
1572
set build_arch i386
1571
1573
}
1574
- if {$os_arch eq "powerpc"} {
- set build_arch ppc
1575
- } else {
1576
- set build_arch i386
1577
- }
+ set build_arch i386
1578
1579
1580
switch -glob $tcl_platform(machine) {
0 commit comments