summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-05-04 02:26:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-05-04 02:26:42 +0000
commitf816feb3a7d6f1fd1e3ae7d4ac89f40857e4d448 (patch)
tree907402ea766d61d515be384f8595da33bd19935a /games-board
parentEAPI=2; tidy (diff)
downloadgentoo-2-f816feb3a7d6f1fd1e3ae7d4ac89f40857e4d448.tar.gz
gentoo-2-f816feb3a7d6f1fd1e3ae7d4ac89f40857e4d448.tar.bz2
gentoo-2-f816feb3a7d6f1fd1e3ae7d4ac89f40857e4d448.zip
EAPI=2
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/grhino/ChangeLog7
-rw-r--r--games-board/grhino/grhino-0.16.0.ebuild20
2 files changed, 13 insertions, 14 deletions
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 <mr_bones_@gentoo.org> grhino-0.16.0.ebuild:
+ EAPI=2
02 May 2008; Tristan Heaven <nyhm@gentoo.org>
+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() {