summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-02-02 17:05:33 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-02-02 17:05:33 +0000
commit5421e8454fd6b1e490dd5a0730b30a946d1dc17e (patch)
tree4898ff7f366a7255034e155ebe550a123b1672cc /games-arcade
parentfix bug 254916 (diff)
downloadgentoo-2-5421e8454fd6b1e490dd5a0730b30a946d1dc17e.tar.gz
gentoo-2-5421e8454fd6b1e490dd5a0730b30a946d1dc17e.tar.bz2
gentoo-2-5421e8454fd6b1e490dd5a0730b30a946d1dc17e.zip
Fix --as-needed bug #247306
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/skystreets/ChangeLog8
-rw-r--r--games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch11
-rw-r--r--games-arcade/skystreets/skystreets-0.2.4.ebuild12
3 files changed, 23 insertions, 8 deletions
diff --git a/games-arcade/skystreets/ChangeLog b/games-arcade/skystreets/ChangeLog
index e156e023168f..8d35f487ca93 100644
--- a/games-arcade/skystreets/ChangeLog
+++ b/games-arcade/skystreets/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/skystreets
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/ChangeLog,v 1.18 2007/03/12 16:10:33 nyhm Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/ChangeLog,v 1.19 2009/02/02 17:05:33 tupone Exp $
+
+ 02 Feb 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/skystreets-0.2.4-as-needed.patch, skystreets-0.2.4.ebuild:
+ Fix --as-needed bug #247306 by flameeyes@gentoo.org
12 Mar 2007; Tristan Heaven <nyhm@gentoo.org> skystreets-0.2.4.ebuild:
Install menu entry, bug #160252
diff --git a/games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch b/games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch
new file mode 100644
index 000000000000..414cd3d61ce4
--- /dev/null
+++ b/games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.old 2009-02-02 18:04:04.000000000 +0100
++++ Makefile.in 2009-02-02 18:04:37.000000000 +0100
+@@ -78,7 +78,7 @@
+ EXTRA_DIST = *.h CODE BUGS
+ INCLUDES = `sdl-config --cflags` -Wall -O2 -DDATAPATH=\"$(pkgdatadir)\"
+ #LDFLAGS = -lSDL_image -lm
+-LDFLAGS = -lSDL_image -lGL -lGLU -lm
++LDADD = -lSDL_image -lGL -lGLU -lm
+ # LDFLAGS = `sdl-config --libs` -lSDL_image -lm
+ SUBDIRS = audio gfx levels
+ AUTOMAKE_OPTIONS = dist-bzip2
diff --git a/games-arcade/skystreets/skystreets-0.2.4.ebuild b/games-arcade/skystreets/skystreets-0.2.4.ebuild
index 57beca703928..b0905b5f6eee 100644
--- a/games-arcade/skystreets/skystreets-0.2.4.ebuild
+++ b/games-arcade/skystreets/skystreets-0.2.4.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/skystreets-0.2.4.ebuild,v 1.5 2007/03/12 16:10:33 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/skystreets/skystreets-0.2.4.ebuild,v 1.6 2009/02/02 17:05:33 tupone Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="A remake of the old DOS game Skyroads"
@@ -18,10 +19,9 @@ DEPEND="virtual/opengl
media-libs/libsdl
media-libs/sdl-image"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PV}-gl.patch
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-gl.patch \
+ "${FILESDIR}"/${P}-as-needed.patch
}
src_install() {