Ignore:
Timestamp:
Oct 18, 2009, 12:25:52 PM (11 years ago)
Author:
jmr@…
Message:

qemu: remove 1.7 compat workarounds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/qemu/Portfile

    r55486 r59637  
    2626configure.args          --cc=${configure.cc} \
    2727                        --host-cc=${configure.cc}
     28if {$build_arch != ""} {
     29    configure.args-append --cpu=${build_arch}
     30}
    2831
    2932set target_list i386-softmmu,x86_64-softmmu,ppc-softmmu,ppc64-softmmu
     
    3235}
    3336
    34 platform darwin {
    35     if {[info exists build_arch]} {
    36         configure.args-append --cpu=${build_arch}
    37     } elseif {${os.arch} == "powerpc"} {
    38         configure.args-append --cpu=ppc
    39     } else {
    40         configure.args-append --cpu=i386
    41     }
    42 }
    43 
    4437foreach t {arm cris m68k mips mipsel mips64 mips64el ppcemb sh4 sh4eb sparc} {
    4538    variant target_${t} description "add ${t} target support" "append target_list \",${t}-softmmu\""
Note: See TracChangeset for help on using the changeset viewer.