diff options
author | 2009-02-11 13:05:34 +0000 | |
---|---|---|
committer | 2009-02-11 13:05:34 +0000 | |
commit | aea010143e7734efd8b3b8fa53a0e1814e7f6a80 (patch) | |
tree | 80049fe2e49aafdef5d533bec977ce53c11559c6 /games-simulation/senken | |
parent | arm/ia64/s390/sh/sparc stable wrt #256718 (diff) | |
download | gentoo-2-aea010143e7734efd8b3b8fa53a0e1814e7f6a80.tar.gz gentoo-2-aea010143e7734efd8b3b8fa53a0e1814e7f6a80.tar.bz2 gentoo-2-aea010143e7734efd8b3b8fa53a0e1814e7f6a80.zip |
Fix --as-needed bug #247471
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
Diffstat (limited to 'games-simulation/senken')
-rw-r--r-- | games-simulation/senken/ChangeLog | 8 | ||||
-rw-r--r-- | games-simulation/senken/files/senken-0.3.0-as-needed.patch | 11 | ||||
-rw-r--r-- | games-simulation/senken/senken-0.3.0.ebuild | 14 |
3 files changed, 23 insertions, 10 deletions
diff --git a/games-simulation/senken/ChangeLog b/games-simulation/senken/ChangeLog index f1f0aef5cd1b..6a9db83279d4 100644 --- a/games-simulation/senken/ChangeLog +++ b/games-simulation/senken/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-simulation/senken -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/senken/ChangeLog,v 1.9 2006/11/03 23:00:41 nyhm Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/senken/ChangeLog,v 1.10 2009/02/11 13:05:34 tupone Exp $ + + 11 Feb 2009; Alfredo Tupone <tupone@gentoo.org> + +files/senken-0.3.0-as-needed.patch, senken-0.3.0.ebuild: + Fix --as-needed bug #247471 by flameeyes@gentoo.org 03 Nov 2006; Tristan Heaven <nyhm@gentoo.org> senken-0.3.0.ebuild: Add nls dependencies diff --git a/games-simulation/senken/files/senken-0.3.0-as-needed.patch b/games-simulation/senken/files/senken-0.3.0-as-needed.patch new file mode 100644 index 000000000000..6cb3417ce8a6 --- /dev/null +++ b/games-simulation/senken/files/senken-0.3.0-as-needed.patch @@ -0,0 +1,11 @@ +--- server/Makefile.in.old 2009-02-11 12:45:10.000000000 +0100 ++++ server/Makefile.in 2009-02-11 12:45:18.000000000 +0100 +@@ -10,7 +10,7 @@ + + DEFS = @DEFS@ + CPPFLAGS = -I$(srcdir)/../lib -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ +-LIBS = ../lib/libsenken.a @LIBS@ @LIBINTL@ ++LIBS = ../lib/libsenken.a @LIBS@ @LIBINTL@ -lm + + prefix = @prefix@ + exec_prefix = @exec_prefix@ diff --git a/games-simulation/senken/senken-0.3.0.ebuild b/games-simulation/senken/senken-0.3.0.ebuild index 8d4eb775110b..d8b3d3b454ff 100644 --- a/games-simulation/senken/senken-0.3.0.ebuild +++ b/games-simulation/senken/senken-0.3.0.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/senken/senken-0.3.0.ebuild,v 1.7 2006/11/03 23:00:41 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-simulation/senken/senken-0.3.0.ebuild,v 1.8 2009/02/11 13:05:34 tupone Exp $ +EAPI=2 inherit games DESCRIPTION="city simulation game" @@ -20,18 +21,15 @@ RDEPEND=">=x11-libs/gtk+-2 DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ -e "s:/usr/local/share:${GAMES_DATADIR}:" \ lib/utils.h \ || die "sed lib/utils.h failed" - + epatch "${FILESDIR}"/${P}-as-needed.patch } -src_compile() { +src_configure() { egamesconf $(use_enable nls) || die - emake || die "emake failed" } src_install() { |