1 |
tupone 09/01/30 16:35:51 |
2 |
|
3 |
Modified: ChangeLog cavezofphear-0.5.ebuild |
4 |
Log: |
5 |
Fix --as-needed bug #247299 |
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/cavezofphear/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/cavezofphear/ChangeLog?rev=1.10&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/cavezofphear/ChangeLog?rev=1.10&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/cavezofphear/ChangeLog?r1=1.9&r2=1.10 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-arcade/cavezofphear/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:53:38 -0000 1.9 |
22 |
+++ ChangeLog 30 Jan 2009 16:35:51 -0000 1.10 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for games-arcade/cavezofphear |
25 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/cavezofphear/ChangeLog,v 1.9 2007/04/09 21:53:38 welp Exp $ |
27 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/cavezofphear/ChangeLog,v 1.10 2009/01/30 16:35:51 tupone Exp $ |
29 |
+ |
30 |
+ 30 Jan 2009; Alfredo Tupone <tupone@g.o> |
31 |
+ +files/cavezofphear-0.5-gentoo.patch, cavezofphear-0.5.ebuild: |
32 |
+ Fix --as-needed bug #247299 by flameeyes@g.o |
33 |
|
34 |
09 Apr 2007; Peter Weller <welp@g.o> cavezofphear-0.5.ebuild: |
35 |
Keyworded ~x86-fbsd wrt bug 173405 |
36 |
|
37 |
|
38 |
|
39 |
1.3 games-arcade/cavezofphear/cavezofphear-0.5.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/cavezofphear/cavezofphear-0.5.ebuild?rev=1.3&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/cavezofphear/cavezofphear-0.5.ebuild?rev=1.3&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/cavezofphear/cavezofphear-0.5.ebuild?r1=1.2&r2=1.3 |
44 |
|
45 |
Index: cavezofphear-0.5.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/games-arcade/cavezofphear/cavezofphear-0.5.ebuild,v |
48 |
retrieving revision 1.2 |
49 |
retrieving revision 1.3 |
50 |
diff -u -r1.2 -r1.3 |
51 |
--- cavezofphear-0.5.ebuild 9 Apr 2007 21:53:38 -0000 1.2 |
52 |
+++ cavezofphear-0.5.ebuild 30 Jan 2009 16:35:51 -0000 1.3 |
53 |
@@ -1,8 +1,9 @@ |
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/cavezofphear/cavezofphear-0.5.ebuild,v 1.2 2007/04/09 21:53:38 welp Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/cavezofphear/cavezofphear-0.5.ebuild,v 1.3 2009/01/30 16:35:51 tupone Exp $ |
59 |
|
60 |
-inherit toolchain-funcs games |
61 |
+EAPI=2 |
62 |
+inherit toolchain-funcs eutils games |
63 |
|
64 |
DESCRIPTION="A boulder dash / digger-like game for console using ncurses" |
65 |
HOMEPAGE="http://www.x86.no/cavezofphear/" |
66 |
@@ -15,18 +16,12 @@ |
67 |
|
68 |
S=${WORKDIR}/${P/cavezof/} |
69 |
|
70 |
-src_unpack() { |
71 |
- unpack ${A} |
72 |
- cd "${S}" |
73 |
+src_prepare() { |
74 |
+ export CC=$(tc-getCC) |
75 |
sed -i \ |
76 |
-e 's/cd src.*/$(MAKE) -C src phear/' Makefile \ |
77 |
|| die "sed Makefile failed" |
78 |
- sed -i \ |
79 |
- -e "/^CC/ s:gcc:$(tc-getCC):" \ |
80 |
- -e "/^CFLAGS/ s:=.*:= ${CFLAGS}:" \ |
81 |
- -e "/^LDFLAGS/ s:$: ${LDFLAGS}:" \ |
82 |
- src/Makefile \ |
83 |
- || die "sed src/Makefile failed" |
84 |
+ epatch "${FILESDIR}"/${P}-gentoo.patch |
85 |
sed -i \ |
86 |
-e "s:get_data_dir(.):\"${GAMES_DATADIR}/${PN}/\":" \ |
87 |
src/{chk.c,main.c,gplot.c} \ |