summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-04-03 15:32:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-04-03 15:32:26 +0000
commit0e8438186f824ee99ef5901d0125e8887cf9427f (patch)
tree5bbe026e612c712ccb12016b6be389d9633632e0 /games-puzzle
parentAdd ~arm (diff)
downloadgentoo-2-0e8438186f824ee99ef5901d0125e8887cf9427f.tar.gz
gentoo-2-0e8438186f824ee99ef5901d0125e8887cf9427f.tar.bz2
gentoo-2-0e8438186f824ee99ef5901d0125e8887cf9427f.zip
fix building with --as-needed (bug #312883) with patch from Johannes Rauh
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/brainparty/ChangeLog6
-rw-r--r--games-puzzle/brainparty/brainparty-0.5.ebuild3
2 files changed, 7 insertions, 2 deletions
diff --git a/games-puzzle/brainparty/ChangeLog b/games-puzzle/brainparty/ChangeLog
index a632a5fae362..df140c8dbea4 100644
--- a/games-puzzle/brainparty/ChangeLog
+++ b/games-puzzle/brainparty/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/brainparty
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainparty/ChangeLog,v 1.2 2010/04/02 04:42:08 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainparty/ChangeLog,v 1.3 2010/04/03 15:32:26 mr_bones_ Exp $
+
+ 03 Apr 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ brainparty-0.5.ebuild:
+ fix building with --as-needed (bug #312883) with patch from Johannes Rauh
02 Apr 2010; Michael Sterrett <mr_bones_@gentoo.org>
brainparty-0.5.ebuild, +files/brainparty-0.5-savegame.patch:
diff --git a/games-puzzle/brainparty/brainparty-0.5.ebuild b/games-puzzle/brainparty/brainparty-0.5.ebuild
index 0b3bd97fb806..ecac4130c60c 100644
--- a/games-puzzle/brainparty/brainparty-0.5.ebuild
+++ b/games-puzzle/brainparty/brainparty-0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainparty/brainparty-0.5.ebuild,v 1.2 2010/04/02 04:42:08 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainparty/brainparty-0.5.ebuild,v 1.3 2010/04/03 15:32:26 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -24,6 +24,7 @@ S=${WORKDIR}/${PN}
src_prepare() {
sed -i \
+ -e 's/$(LIBS) $(OSXCOMPAT) $(OBJFILES)/$(OSXCOMPAT) $(OBJFILES) $(LIBS)/' \
-e 's/CXXFLAGS = .*/CXXFLAGS+=-c/' \
-e '/^CXX =/d' \
-e '/-o brainparty/s/INCLUDES) /&$(LDFLAGS) /' \