Lines 11-17
Link Here
|
11 |
|
11 |
|
12 |
LICENSE="LGPL-2.1" |
12 |
LICENSE="LGPL-2.1" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="~x86 ~ppc ~alpha ~sparc ~amd64" |
14 |
KEYWORDS="~x86 ~ppc ~ppc-macos ~alpha ~sparc ~amd64" |
15 |
IUSE="debugger gtk2 readline sdl wxwindows" |
15 |
IUSE="debugger gtk2 readline sdl wxwindows" |
16 |
|
16 |
|
17 |
RDEPEND="virtual/libc |
17 |
RDEPEND="virtual/libc |
Lines 33-38
Link Here
|
33 |
-e 's:BOCHSDIR=:BOCHSDIR=/usr/lib/bochs#:' \ |
33 |
-e 's:BOCHSDIR=:BOCHSDIR=/usr/lib/bochs#:' \ |
34 |
-e 's: $(BOCHSDIR): $(DESTDIR)$(BOCHSDIR):g' Makefile.in || \ |
34 |
-e 's: $(BOCHSDIR): $(DESTDIR)$(BOCHSDIR):g' Makefile.in || \ |
35 |
die "sed Makefile.in failed" |
35 |
die "sed Makefile.in failed" |
|
|
36 |
use ppc-macos && epatch ${FILESDIR}/${P}-osx.patch |
36 |
} |
37 |
} |
37 |
|
38 |
|
38 |
src_compile() { |
39 |
src_compile() { |
Lines 54-59
Link Here
|
54 |
use debugger && \ |
55 |
use debugger && \ |
55 |
myconf="$myconf --enable-debugger --enable-disasm --enable-x86-debugger" |
56 |
myconf="$myconf --enable-debugger --enable-disasm --enable-x86-debugger" |
56 |
|
57 |
|
|
|
58 |
# allow compilation to succeed on OSX, it doesn't like linux |
59 |
# sound system things -- Fabian Groffen 2005-07-13 |
60 |
if use ppc-macos; |
61 |
then |
62 |
myconf="${myconf} --enable-sb16=osx" |
63 |
else |
64 |
myconf="${myconf} --enable-sb16=linux" |
65 |
fi; |
57 |
./configure \ |
66 |
./configure \ |
58 |
--enable-fpu --enable-cdrom --enable-control-panel \ |
67 |
--enable-fpu --enable-cdrom --enable-control-panel \ |
59 |
--enable-usb --enable-pci --enable-mmx --enable-sse\ |
68 |
--enable-usb --enable-pci --enable-mmx --enable-sse\ |
Lines 61-67
Link Here
|
61 |
--enable-repeat-speedups --enable-guest2host-tlb \ |
70 |
--enable-repeat-speedups --enable-guest2host-tlb \ |
62 |
--enable-plugins \ |
71 |
--enable-plugins \ |
63 |
--enable-ignore-bad-msr \ |
72 |
--enable-ignore-bad-msr \ |
64 |
--enable-ne2000 --enable-sb16=linux --enable-slowdown --prefix=/usr \ |
73 |
--enable-ne2000 --enable-slowdown --prefix=/usr \ |
65 |
--infodir=/usr/share/info --mandir=/usr/share/man --host=${CHOST} \ |
74 |
--infodir=/usr/share/info --mandir=/usr/share/man --host=${CHOST} \ |
66 |
--with-x11 $myconf || \ |
75 |
--with-x11 $myconf || \ |
67 |
die "configure failed" |
76 |
die "configure failed" |