Ignore:
Timestamp:
Jun 22, 2011, 7:21:43 PM (8 years ago)
Author:
jmr@…
Message:

muniversal: if merger_must_run_binaries, disallow 64-bit archs on 32-bit machines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

    r79656 r79658  
    120120        if { ${os.arch}=="i386" } {
    121121            set universal_archs_supported [ldelete ${universal_archs_supported} "ppc64"]
     122            if {${os.major} >= 9 && [sysctl hw.cpu64bit_capable] == 0} {
     123                set universal_archs_supported [ldelete ${universal_archs_supported} "x86_64"]
     124            }
    122125        } else {
    123126            set universal_archs_supported [ldelete ${universal_archs_supported} "i386"]
    124127            set universal_archs_supported [ldelete ${universal_archs_supported} "x86_64"]
     128            if {${os.major} >= 9 && [sysctl hw.cpu64bit_capable] == 0} {
     129                set universal_archs_supported [ldelete ${universal_archs_supported} "ppc64"]
     130            }
    125131        }
    126132    }
Note: See TracChangeset for help on using the changeset viewer.