summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-02-12 14:09:39 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-02-12 14:09:39 +0000
commitaa9523381d61ec4582c4af6ade22dad25b76fb2d (patch)
treed037b9e11796d48f754b4f4dbeeecd31776c7c04 /games-strategy
parentAutomated update of use.local.desc (diff)
downloadhistorical-aa9523381d61ec4582c4af6ade22dad25b76fb2d.tar.gz
historical-aa9523381d61ec4582c4af6ade22dad25b76fb2d.tar.bz2
historical-aa9523381d61ec4582c4af6ade22dad25b76fb2d.zip
Fix --as-needed bug #247508
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/tornado/ChangeLog8
-rw-r--r--games-strategy/tornado/Manifest5
-rw-r--r--games-strategy/tornado/files/tornado-1.3-gentoo.patch26
-rw-r--r--games-strategy/tornado/tornado-1.3.ebuild20
4 files changed, 42 insertions, 17 deletions
diff --git a/games-strategy/tornado/ChangeLog b/games-strategy/tornado/ChangeLog
index 68511e1df9e5..72b930579191 100644
--- a/games-strategy/tornado/ChangeLog
+++ b/games-strategy/tornado/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/tornado
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/ChangeLog,v 1.11 2007/02/08 22:27:48 wolf31o2 Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/ChangeLog,v 1.12 2009/02/12 14:09:39 tupone Exp $
+
+ 12 Feb 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/tornado-1.3-gentoo.patch, tornado-1.3.ebuild:
+ Fix --as-needed bug #247508 by flameeyes@gentoo.org
08 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/games-strategy/tornado/Manifest b/games-strategy/tornado/Manifest
index c49b7cb5fbda..65bb2cc2b59d 100644
--- a/games-strategy/tornado/Manifest
+++ b/games-strategy/tornado/Manifest
@@ -1,4 +1,5 @@
+AUX tornado-1.3-gentoo.patch 955 RMD160 d0759c159e160ef9532e11af54776da3ab5e4927 SHA1 7a19d3ba26a7d102690184331b9ab8fcb65c5e89 SHA256 b9914479de51817ed0ade88cd11c791d9800af231b3ff04bb1680349c2e883f1
DIST tornado-1.3.tar.gz 52101 RMD160 4368ebf80fe4eb3bf541b2bdb0de23aafaa46a5c SHA1 c7c1e2c684ffb2f560ffbf3611852d21617679d8 SHA256 9c80b0003c70f04bd47c1abf40af321bcecd6fa63af4f52090e49e60a230b49a
-EBUILD tornado-1.3.ebuild 1071 RMD160 a03de86af28acdaec335c5da4333199272d83b4a SHA1 6210a1c01eabb6bcd75aff28e948b178faad021e SHA256 d612e4bc971fb7e123db1b869238678fa11ad01a3d325ddf725a4589260a70d6
-MISC ChangeLog 1216 RMD160 79712723f053ee27037043be70182d45ab741a9c SHA1 6867f320f0447c8dfca80bdbd7da1662ee249123 SHA256 676ff9007004287f61ef43a483e682a9e2bce4a1d4cb6aa599826be3b370833e
+EBUILD tornado-1.3.ebuild 977 RMD160 49dbe62959008b83171f2625e85c955a9618a642 SHA1 3a4eb03f6f306c0dea1b5c1ef10efb096ab4265c SHA256 7a0e5dc097e3cdee5a0ae00971fd9557170583cea2189a4cf779c12e77164720
+MISC ChangeLog 1374 RMD160 ba0f6f22070a37066d6cb6d0d516b5a9434f4ea8 SHA1 3b707e24d1af62246d2dd3b6f005cfd86a21ff1e SHA256 60bbd0901ab41a3829a134d0ef139155c3776c5a84ece9c81a97ed9d0b368778
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-strategy/tornado/files/tornado-1.3-gentoo.patch b/games-strategy/tornado/files/tornado-1.3-gentoo.patch
new file mode 100644
index 000000000000..fb8966841158
--- /dev/null
+++ b/games-strategy/tornado/files/tornado-1.3-gentoo.patch
@@ -0,0 +1,26 @@
+--- Makefile.old 2009-02-12 12:42:25.000000000 +0100
++++ Makefile 2009-02-12 12:44:52.000000000 +0100
+@@ -1,10 +1,9 @@
+-CC = gcc
+ MAKE = make
+-LDFLAGS = -lncurses
++LDLIBS = -lncurses
+ OBJFILES = main.o draw.o erwin.o network.o scores.o
+-PREFIX = /usr/local
+-LOCALEPATH = /usr/local/share/locale
+-CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
++PREFIX = /usr
++LOCALEPATH = /usr/share/locale
++CFLAGS += -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
+ VERSION = `grep " VERSION" version.h | sed s/\"//g | sed s/\#define\ VERSION\ //`
+ LOCALES = de
+ MAN = doc/man
+@@ -25,7 +24,7 @@
+ $(MAKE) -C $(MAN) all
+
+ tornado: $(OBJFILES)
+- $(CC) $(LDFLAGS) $(OBJFILES) -o tornado
++ $(CC) $(LDFLAGS) $(OBJFILES) $(LDLIBS) -o tornado
+
+ debug: tornado.6 locales
+ gcc -g -ggdb -Wall -ansi -pedantic -o tornado draw.c main.c erwin.c network.c scores.c -lncurses -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
diff --git a/games-strategy/tornado/tornado-1.3.ebuild b/games-strategy/tornado/tornado-1.3.ebuild
index fecf25abaaba..44c161358463 100644
--- a/games-strategy/tornado/tornado-1.3.ebuild
+++ b/games-strategy/tornado/tornado-1.3.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/tornado-1.3.ebuild,v 1.6 2007/04/18 01:36:36 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/tornado/tornado-1.3.ebuild,v 1.7 2009/02/12 14:09:39 tupone Exp $
-inherit games
+EAPI=2
+inherit eutils games
DESCRIPTION="Clone of a C64 game - destroy the opponent's house"
HOMEPAGE="http://home.kcore.de/~kiza/linux/tornado/"
@@ -13,23 +14,16 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-DEPEND=">=sys-libs/ncurses-5.3"
+DEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e "s:/usr/local:/usr:" \
- -e "s:-O2:${CFLAGS}:" \
- Makefile \
- || die "sed failed"
+src_prepare() {
sed -i \
-e "s:PREFIX/bin:${GAMES_BINDIR}:" \
-e "s:PREFIX/man:/usr/man:" \
-e "s:/usr/local:/usr:" \
doc/man/tornado.6.in \
|| die "sed failed"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
}
src_install() {