diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-10-13 21:16:49 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-10-13 21:16:49 +0000 |
commit | 01d91db8e972d1c6dd438e83794d0ecdca949fc3 (patch) | |
tree | 7a1c88647e6e81fcd46eb6eee9fb69b20fbc2212 /games-rpg | |
parent | Remove old ebuild (diff) | |
download | gentoo-2-01d91db8e972d1c6dd438e83794d0ecdca949fc3.tar.gz gentoo-2-01d91db8e972d1c6dd438e83794d0ecdca949fc3.tar.bz2 gentoo-2-01d91db8e972d1c6dd438e83794d0ecdca949fc3.zip |
Now works on x86-fbsd, but need bugs #142509 and #151224 fixed before
we can keywork.
Server updated to game.eternal-lands.com too.
(Portage version: 2.1.2_pre2-r9)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/eternal-lands/ChangeLog | 9 | ||||
-rw-r--r-- | games-rpg/eternal-lands/eternal-lands-1.3.2-r1.ebuild | 17 |
2 files changed, 21 insertions, 5 deletions
diff --git a/games-rpg/eternal-lands/ChangeLog b/games-rpg/eternal-lands/ChangeLog index c1829d6dd693..99ee43383a4f 100644 --- a/games-rpg/eternal-lands/ChangeLog +++ b/games-rpg/eternal-lands/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-rpg/eternal-lands # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.26 2006/09/05 08:02:15 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.27 2006/10/13 21:16:49 uberlord Exp $ + + 13 Oct 2006; Roy Marples <uberlord@gentoo.org> + eternal-lands-1.3.2-r1.ebuild: + Now works on x86-fbsd, but need bugs #142509 and #151224 fixed before + we can keywork. + + Server updated to game.eternal-lands.com too. *eternal-lands-1.3.2-r1 (05 Sep 2006) diff --git a/games-rpg/eternal-lands/eternal-lands-1.3.2-r1.ebuild b/games-rpg/eternal-lands/eternal-lands-1.3.2-r1.ebuild index 520265fedf25..5c89a08f607a 100644 --- a/games-rpg/eternal-lands/eternal-lands-1.3.2-r1.ebuild +++ b/games-rpg/eternal-lands/eternal-lands-1.3.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.3.2-r1.ebuild,v 1.1 2006/09/05 08:02:15 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.3.2-r1.ebuild,v 1.2 2006/10/13 21:16:49 uberlord Exp $ inherit eutils flag-o-matic games @@ -20,7 +20,7 @@ SRC_URI="mirror://gentoo/elc_${MY_PV}.tar.bz2 LICENSE="eternal_lands" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="debug doc" +IUSE="debug doc kernel_linux" RDEPEND=" || ( ( @@ -42,7 +42,6 @@ RDEPEND=" DEPEND="${RDEPEND} app-arch/unzip - sys-apps/findutils doc? ( >=app-doc/doxygen-1.3.8 >=media-gfx/graphviz-1.10 )" @@ -96,10 +95,20 @@ src_unpack() { # Framebuffer support is way buggy - remove it sed -i -e '/OPTIONS=/ s/-DUSE_FRAMEBUFFER//' Makefile || die "sed failed" + + # Support BSD in the Linux makefile - it's easier + use kernel_linux || sed -i -e 's/^CFLAGS=.*/& -DBSD/' Makefile || die "sed failed" + + # Gah + sed -i -e 's/CXX=g++/CXX=gcc/' Makefile || die "sed failed" + + # Finally, update the server + sed -i -e '/#server_address =/ s/.*/#server_address = game.eternal-lands.com/' \ + el.ini || die "sed failed" } src_compile() { - emake || die "emake failed" + emake || die "make failed" if use doc; then emake docs || die "Failed to create documentation, try with USE=-doc" mv ./docs/html/ ../client || die "Failed to move documentation directory" |