1 |
mr_bones_ 10/09/08 15:38:25 |
2 |
|
3 |
Modified: ChangeLog betna-0.9.7.ebuild |
4 |
Log: |
5 |
honor LDFLAGS (bug #336452); honor CXX; EAPI=2; tidy |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.9 games-arcade/betna/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/betna/ChangeLog?rev=1.9&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/betna/ChangeLog?rev=1.9&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/betna/ChangeLog?r1=1.8&r2=1.9 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-arcade/betna/ChangeLog,v |
18 |
retrieving revision 1.8 |
19 |
retrieving revision 1.9 |
20 |
diff -u -r1.8 -r1.9 |
21 |
--- ChangeLog 9 Apr 2007 21:48:40 -0000 1.8 |
22 |
+++ ChangeLog 8 Sep 2010 15:38:25 -0000 1.9 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for games-arcade/betna |
25 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/betna/ChangeLog,v 1.8 2007/04/09 21:48:40 welp Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/betna/ChangeLog,v 1.9 2010/09/08 15:38:25 mr_bones_ Exp $ |
29 |
+ |
30 |
+ 08 Sep 2010; Michael Sterrett <mr_bones_@g.o> betna-0.9.7.ebuild: |
31 |
+ honor LDFLAGS (bug #336452); honor CXX; EAPI=2; tidy |
32 |
|
33 |
09 Apr 2007; Peter Weller <welp@g.o> betna-0.9.7.ebuild: |
34 |
Keyworded ~x86-fbsd wrt bug 173405 |
35 |
|
36 |
|
37 |
|
38 |
1.10 games-arcade/betna/betna-0.9.7.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/betna/betna-0.9.7.ebuild?rev=1.10&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/betna/betna-0.9.7.ebuild?rev=1.10&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/betna/betna-0.9.7.ebuild?r1=1.9&r2=1.10 |
43 |
|
44 |
Index: betna-0.9.7.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/games-arcade/betna/betna-0.9.7.ebuild,v |
47 |
retrieving revision 1.9 |
48 |
retrieving revision 1.10 |
49 |
diff -u -r1.9 -r1.10 |
50 |
--- betna-0.9.7.ebuild 9 Apr 2007 21:48:40 -0000 1.9 |
51 |
+++ betna-0.9.7.ebuild 8 Sep 2010 15:38:25 -0000 1.10 |
52 |
@@ -1,7 +1,8 @@ |
53 |
-# Copyright 1999-2007 Gentoo Foundation |
54 |
+# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/betna/betna-0.9.7.ebuild,v 1.9 2007/04/09 21:48:40 welp Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/betna/betna-0.9.7.ebuild,v 1.10 2010/09/08 15:38:25 mr_bones_ Exp $ |
58 |
|
59 |
+EAPI=2 |
60 |
inherit eutils games |
61 |
|
62 |
DESCRIPTION="Defend your volcano from the attacking ants by firing rocks/bullets at them" |
63 |
@@ -13,21 +14,25 @@ |
64 |
KEYWORDS="amd64 ~ppc ~sparc x86 ~x86-fbsd" |
65 |
IUSE="" |
66 |
|
67 |
-DEPEND="media-libs/libsdl" |
68 |
- |
69 |
-src_unpack() { |
70 |
- unpack ${A} |
71 |
- cd "${S}" |
72 |
+DEPEND="media-libs/libsdl[video]" |
73 |
|
74 |
+src_prepare() { |
75 |
sed -i \ |
76 |
+ -e '/blobprintf.*char msg/s/char msg/const char msg/' \ |
77 |
-e "s:images/:${GAMES_DATADIR}/${PN}/:" \ |
78 |
- src/main.cpp || die "sed main.cpp failed" |
79 |
+ src/main.cpp || die |
80 |
|
81 |
sed -i \ |
82 |
- -e "s:-O2:${CXXFLAGS}:" \ |
83 |
- Makefile || die "sed Makefile failed" |
84 |
+ -e '/^LDFLAGS/d' \ |
85 |
+ -e '/--libs/s/-o/$(LDFLAGS) -o/' \ |
86 |
+ -e 's:-O2:$(CXXFLAGS):g' \ |
87 |
+ -e 's/g++/$(CXX)/' \ |
88 |
+ Makefile || die |
89 |
+} |
90 |
|
91 |
- emake clean |
92 |
+src_compile() { |
93 |
+ emake clean || die |
94 |
+ emake || die |
95 |
} |
96 |
|
97 |
src_install() { |