source: trunk/dports/emulators/qemu/Portfile @ 55484

Last change on this file since 55484 was 55484, checked in by jmr@…, 11 years ago

qemu: set host CPU properly (#19161), remove unused patch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 55484 2009-08-12 02:21:49Z jmr@macports.org $
2
3PortSystem 1.0
4
5name                    qemu
6version                 0.10.5
7categories              emulators
8platforms               darwin
9maintainers             nomaintainer
10
11description             x86 and PowerPC Emulator
12long_description        QEMU is a FAST! processor emulator using dynamic \
13                        translation to achieve good emulation speed. It \
14                        can emulate a Full PC System and has basic support \
15                        for PowerMac Emulation.
16
17homepage                http://www.nongnu.org/qemu/
18master_sites            nongnu
19
20checksums               md5     60060feb98c9649a5da8b136685f76ba \
21                        sha1    236de8714554d98beb97f3fb34985f709bf7d3be \
22                        rmd160  02eec8d3160e80ba9d04e5112977c2242a306a65
23
24patchfiles              patch-configure.diff
25
26configure.args          --cc=${configure.cc}
27
28platform darwin {
29    if {[info exists build_arch]} {
30        configure.args-append --cpu=${build_arch}
31    } elseif {${os.arch} == "powerpc"} {
32        configure.args-append --cpu=ppc
33    } else {
34        configure.args-append --cpu=i386
35    }
36}
37
38platform macosx {
39    configure.args-append --enable-cocoa --target-list=i386-softmmu
40}
Note: See TracBrowser for help on using the repository browser.