From f816feb3a7d6f1fd1e3ae7d4ac89f40857e4d448 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Mon, 4 May 2009 02:26:42 +0000 Subject: EAPI=2 (Portage version: 2.1.6.11/cvs/Linux i686) --- games-board/grhino/ChangeLog | 7 +++++-- games-board/grhino/grhino-0.16.0.ebuild | 20 ++++++++------------ 2 files changed, 13 insertions(+), 14 deletions(-) (limited to 'games-board') diff --git a/games-board/grhino/ChangeLog b/games-board/grhino/ChangeLog index 153f4b9ca630..cd322348cc93 100644 --- a/games-board/grhino/ChangeLog +++ b/games-board/grhino/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-board/grhino -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.7 2008/05/02 18:50:06 nyhm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.8 2009/05/04 02:26:42 mr_bones_ Exp $ + + 04 May 2009; Michael Sterrett grhino-0.16.0.ebuild: + EAPI=2 02 May 2008; Tristan Heaven +files/grhino-0.16.0-gcc43.patch, grhino-0.16.0.ebuild: diff --git a/games-board/grhino/grhino-0.16.0.ebuild b/games-board/grhino/grhino-0.16.0.ebuild index 3a47b3494112..fe535c2d15de 100644 --- a/games-board/grhino/grhino-0.16.0.ebuild +++ b/games-board/grhino/grhino-0.16.0.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.7 2008/05/02 18:50:06 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.8 2009/05/04 02:26:42 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="Reversi game for GNOME, supporting the Go/Game Text Protocol" @@ -18,32 +19,27 @@ RDEPEND="gnome? ( =gnome-base/libgnomeui-2* ) DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-gcc43.patch sed -i '/^(\|locale\|help\|omf\|icon\|)/s:@datadir@:/usr/share:' \ Makefile.in \ || die "sed failed" } -src_compile() { +src_configure() { if use gnome || use gtp; then egamesconf \ --localedir=/usr/share/locale \ $(use_enable gnome) \ $(use_enable gtp) \ - $(use_enable nls) \ - || die + $(use_enable nls) else egamesconf \ + --localedir=/usr/share/locale \ --enable-gtp \ --disable-gnome \ - --localedir=/usr/share/locale \ - $(use_enable nls) \ - || die + $(use_enable nls) fi - emake || die "emake failed" } src_install() { -- cgit v1.2.3-65-gdbad