Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 43785
Collapse All | Expand All

(-)uae-0.8.25_pre20040302.ebuild (-3 / +10 lines)
Lines 22-39 Link Here
22
	games-emulation/caps"
22
	games-emulation/caps"
23
23
24
src_compile() {
24
src_compile() {
25
	ewarn "Compiling the CPU-core requires a substantial amount of RAM."
26
	ewarn "Make sure that you have at least 512MB of RAM+SWAP available."
27
28
	replace-flags "-O3" "-O2"
25
	replace-flags "-O3" "-O2"
29
	use sdl && myconf="--with-sdl-sound --with-sdl-gfx"
26
	use sdl && myconf="--with-sdl-sound --with-sdl-gfx"
30
27
28
	cp ${FILESDIR}/split_cpuemu.pl ${S}/src
29
31
	econf ${myconf} \
30
	econf ${myconf} \
32
		--enable-threads \
31
		--enable-threads \
33
		--enable-scsi-device \
32
		--enable-scsi-device \
34
		--with-libscg-includedir=/usr/include/scsilib \
33
		--with-libscg-includedir=/usr/include/scsilib \
35
		|| die "./configure failed"
34
		|| die "./configure failed"
36
35
36
	cd ${S}/src
37
38
	sed -ir 's#cpuemu_6.\([a-z]*\)#cpuemu_6.\1 cpuemu_7.\1#g' Makefile
39
	sed -ir 's#cpuemu_nf_6.\([a-z]*\)#cpuemu_nf_6.\1 cpuemu_nf_7.\1#g' Makefile
40
	sed -ir 's#\(./tools/build68k <../src/table68k >cpudefs.c\)#\1\n	./split_cpuemu.pl; mv cpuemu_6.t cpuemu_6.c#' Makefile
41
42
	cd ${S}
43
37
	emake -j1 || die "emake failed"
44
	emake -j1 || die "emake failed"
38
}
45
}
39
46

Return to bug 43785