Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-board/gnushogi: gnushogi-1.3.ebuild
Date: Wed, 30 Dec 2009 21:16:53
Message-Id: E1NQ5uR-0001Ze-Vh@stork.gentoo.org
1 mr_bones_ 09/12/30 21:16:47
2
3 Modified: gnushogi-1.3.ebuild
4 Log:
5 EAPI=2
6 (Portage version: 2.1.6.13/cvs/Linux i686)
7
8 Revision Changes Path
9 1.16 games-board/gnushogi/gnushogi-1.3.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnushogi/gnushogi-1.3.ebuild?rev=1.16&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnushogi/gnushogi-1.3.ebuild?rev=1.16&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnushogi/gnushogi-1.3.ebuild?r1=1.15&r2=1.16
14
15 Index: gnushogi-1.3.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-board/gnushogi/gnushogi-1.3.ebuild,v
18 retrieving revision 1.15
19 retrieving revision 1.16
20 diff -u -r1.15 -r1.16
21 --- gnushogi-1.3.ebuild 22 Dec 2009 22:15:11 -0000 1.15
22 +++ gnushogi-1.3.ebuild 30 Dec 2009 21:16:47 -0000 1.16
23 @@ -1,7 +1,8 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnushogi/gnushogi-1.3.ebuild,v 1.15 2009/12/22 22:15:11 flameeyes Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/games-board/gnushogi/gnushogi-1.3.ebuild,v 1.16 2009/12/30 21:16:47 mr_bones_ Exp $
28
29 +EAPI=2
30 inherit eutils games
31
32 DESCRIPTION="Japanese version of chess (commandline + X-Version)"
33 @@ -19,11 +20,9 @@
34 >=sys-devel/bison-1.34
35 >=sys-devel/flex-2.5"
36
37 -src_unpack() {
38 +src_prepare() {
39 local f
40
41 - unpack ${A}
42 - cd "${S}"
43 for f in $(grep -Rl -- -ltermcap *) ; do
44 einfo "Fixing ${f}"
45 sed -i \
46 @@ -34,12 +33,14 @@
47 "${FILESDIR}/${P}"-gcc4.patch
48 }
49
50 -src_compile() {
51 +src_configure() {
52 egamesconf \
53 $(use_with X x) \
54 $(use_with X xshogi) || die
55 addpredict /usr/games/lib/gnushogi/gnushogi.hsh
56 +}
57
58 +src_compile() {
59 # bug #298017
60 emake -j1 || die "emake failed"
61 }