Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 423327 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +8 lines)
Line  Link Here
0
-- games-rpg/eternal-lands/eternal-lands-1.9.3-r2.ebuild
0
++ games-rpg/eternal-lands/eternal-lands-1.9.3-r2.ebuild
Lines 35-40 Link Here
35
DEPEND="${RDEPEND}
35
DEPEND="${RDEPEND}
36
	>=app-admin/eselect-opengl-1.0.6-r1
36
	>=app-admin/eselect-opengl-1.0.6-r1
37
	app-arch/unzip
37
	app-arch/unzip
38
	virtual/pkgconfig
38
	doc? ( app-doc/doxygen
39
	doc? ( app-doc/doxygen
39
		media-gfx/graphviz )"
40
		media-gfx/graphviz )"
40
41
Lines 55-70 Link Here
55
56
56
	epatch "${FILESDIR}/${PN}-1.9.2-glext.patch"
57
	epatch "${FILESDIR}/${PN}-1.9.2-glext.patch"
57
	epatch "${FILESDIR}/${PN}-1.9.3-build.patch"
58
	epatch "${FILESDIR}/${PN}-1.9.3-build.patch"
59
	epatch "${FILESDIR}/${PN}-1.9.3-minizip.patch"
60
61
	# remove bundled minizip
62
	rm io/{crypt,ioapi,unzip,zip}.h || die
63
	rm io/{ioapi,unzip,zip}.c || die
58
64
59
	cp Makefile.linux Makefile
65
	cp Makefile.linux Makefile
60
61
	# Fix for Gentoo zlib OF redefine
62
	sed -i '1i#define OF(x) x' `find -name "*.c"` || die "sed failed"
63
}
66
}
64
67
65
src_compile() {
68
src_compile() {
66
	emake \
69
	emake \
67
		DEBUG="$(usex debug "yes" "no")" \
70
		DEBUG="$(usex debug)" \
68
		BSD_KERNEL="$(usex !kernel_linux)" \
71
		BSD_KERNEL="$(usex !kernel_linux)" \
69
		DATADIR="${GAMES_DATADIR}/${PN}/"
72
		DATADIR="${GAMES_DATADIR}/${PN}/"
70
73

Return to bug 423327