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 9223803 commit 87f5760Copy full SHA for 87f5760
src/macports1.0/macports.tcl
@@ -1503,7 +1503,9 @@ match macports.conf.default."
1503
# Default arch to build for
1504
if {![info exists build_arch]} {
1505
if {$os_platform eq "darwin"} {
1506
- if {$os_major >= 20} {
+ if {$os_arch eq "powerpc"} {
1507
+ set build_arch ppc
1508
+ } elseif {$os_major >= 20} {
1509
if {$os_arch eq "arm"} {
1510
set build_arch arm64
1511
} else {
@@ -1516,11 +1518,7 @@ match macports.conf.default."
1516
1518
set build_arch i386
1517
1519
}
1520
- if {$os_arch eq "powerpc"} {
- set build_arch ppc
1521
- } else {
1522
- set build_arch i386
1523
- }
+ set build_arch i386
1524
1525
1526
switch -glob $tcl_platform(machine) {
0 commit comments