Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #6187: qemu-0.8.0.patch

File qemu-0.8.0.patch, 1.5 KB (added by pierre@…, 3 years ago)

qemu-0.8.0 Portfile patch

  • Portfile

    old new  
    33PortSystem 1.0 
    44 
    55name                    qemu 
    6 version                 0.7.0 
     6version                 0.8.0 
    77homepage                http://bellard.org/qemu 
    88 
    99categories              emulators 
     
    1111maintainers             pidherbemont@opendarwin.org 
    1212description             x86 and PowerPC Emulator 
    1313 
    14 master_sites            http://fabrice.bellard.free.fr/qemu/ 
    15 checksums               md5 234e9ace03b00259bb57dc5a9c633056 
    16 depends_lib             lib:libsdl:libsdl 
    17 patchfiles              patch-configure.diff 
    18  
    1914long_description        QEMU is a FAST! processor emulator \ 
    2015                                using dynamic translation to achieve \ 
    2116                                good emulation speed. It can emulate \ 
    2217                                a Full PC System and has basic support \ 
    2318                                for PowerMac Emulation. 
    2419 
    25 platform darwin { 
    26         patchfiles-append patch-vl.c 
     20master_sites            http://fabrice.bellard.free.fr/qemu/ 
     21checksums               md5 eb175b26583280706fe7e4d8910d320d 
     22 
     23patchfiles              patch-configure.diff 
     24 
     25platform macosx { 
     26        configure.args-append   --enable-coreaudio --enable-cocoa 
    2727} 
    2828 
    2929platform darwin 8 { 
    30         configure.args-append   --cc=gcc-3.3 
     30        configure.args-append   --cc=gcc-3.3 --interp-prefix=${prefix}/share/qemu-%M 
    3131} 
    3232 
    33 variant cocoa { 
    34         configure.args-append   --enable-cocoa 
    35 } 
     33# we could have an SDL variant, if someone's interested 
     34# depends_lib           lib:libsdl:libsdl 
     35# configure.env         CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib 
     36# patch the configure process so that the Makefile honors the CPPFLAGS 
    3637 
    3738destroot.destdir        prefix=${destroot}${prefix}