Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/aop: ChangeLog aop-0.6.ebuild
Date: Fri, 30 Jan 2009 16:06:45
Message-Id: E1LSvtC-0002Sc-VK@stork.gentoo.org
1 tupone 09/01/30 16:06:42
2
3 Modified: ChangeLog aop-0.6.ebuild
4 Log:
5 Fix --as-needed bug #247295
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
7
8 Revision Changes Path
9 1.10 games-arcade/aop/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/aop/ChangeLog?rev=1.10&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/aop/ChangeLog?rev=1.10&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/aop/ChangeLog?r1=1.9&r2=1.10
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-arcade/aop/ChangeLog,v
18 retrieving revision 1.9
19 retrieving revision 1.10
20 diff -u -r1.9 -r1.10
21 --- ChangeLog 9 Apr 2007 21:44:16 -0000 1.9
22 +++ ChangeLog 30 Jan 2009 16:06:42 -0000 1.10
23 @@ -1,6 +1,10 @@
24 # ChangeLog for games-arcade/aop
25 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/aop/ChangeLog,v 1.9 2007/04/09 21:44:16 welp Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/aop/ChangeLog,v 1.10 2009/01/30 16:06:42 tupone Exp $
29 +
30 + 30 Jan 2009; Alfredo Tupone <tupone@g.o>
31 + +files/aop-0.6-as-needed.patch, aop-0.6.ebuild:
32 + Fix --as-needed bug #247295 by flameeyes@g.o
33
34 09 Apr 2007; Peter Weller <welp@g.o> aop-0.6.ebuild:
35 Keyworded ~x86-fbsd wrt bug 173405
36
37
38
39 1.12 games-arcade/aop/aop-0.6.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/aop/aop-0.6.ebuild?rev=1.12&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/aop/aop-0.6.ebuild?rev=1.12&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/aop/aop-0.6.ebuild?r1=1.11&r2=1.12
44
45 Index: aop-0.6.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/games-arcade/aop/aop-0.6.ebuild,v
48 retrieving revision 1.11
49 retrieving revision 1.12
50 diff -u -r1.11 -r1.12
51 --- aop-0.6.ebuild 22 Jul 2008 16:14:12 -0000 1.11
52 +++ aop-0.6.ebuild 30 Jan 2009 16:06:42 -0000 1.12
53 @@ -1,27 +1,27 @@
54 -# Copyright 1999-2007 Gentoo Foundation
55 +# Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/aop/aop-0.6.ebuild,v 1.11 2008/07/22 16:14:12 mr_bones_ Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/aop/aop-0.6.ebuild,v 1.12 2009/01/30 16:06:42 tupone Exp $
59
60 -inherit games
61 +EAPI=2
62 +inherit eutils games
63
64 DESCRIPTION="Ambassador of Pain is a curses based game with only 64 lines of code."
65 HOMEPAGE="http://aop.raffi.at/"
66 SRC_URI="http://www.raffi.at/code/${PN}/${P}.tar.gz"
67
68 -LICENSE="GPL-1"
69 +LICENSE="GPL-2"
70 SLOT="0"
71 KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~x86-fbsd"
72 IUSE=""
73
74 DEPEND="sys-libs/ncurses"
75
76 -src_unpack() {
77 - unpack ${A}
78 - cd "${S}"
79 +src_prepare() {
80 sed -i \
81 -e "s#/usr/local/share#${GAMES_DATADIR}#" \
82 aop.c \
83 || die "sed failed"
84 + epatch "${FILESDIR}"/${P}-as-needed.patch
85 }
86
87 src_install() {