Ignore:
Timestamp:
Jun 15, 2009, 8:27:29 PM (8 years ago)
Author:
toby@…
Message:

Use "x86_64 i386" for fallback universal_archs on 10.6 and later, stay with "i386 ppc" for 10.5 and earlier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r52324 r52397  
    320320    }
    321321
    322     global auto_path env
     322    global auto_path env tcl_platform
    323323    global macports::autoconf::macports_conf_path
    324324    global macports::macports_user_dir
     
    651651    # Default mp universal options
    652652    if {![info exists macports::universal_archs]} {
    653         set macports::universal_archs {ppc i386}
     653        if {[lindex [split $tcl_platform(osVersion) .] 0] >= 10} {
     654            set macports::universal_archs {x86_64 i386}
     655        } else {
     656            set macports::universal_archs {i386 ppc}
     657        }
    654658    }
    655659
Note: See TracChangeset for help on using the changeset viewer.