diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-10-11 16:08:48 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-10-11 16:08:48 +0000 |
commit | a1cf1c2d4a19aebf71eebaf71cab18d08552ce56 (patch) | |
tree | 9f7ff3fce2e58e82c62353dce68892b917145da2 /games-puzzle/icebreaker | |
parent | Clean up old revisions. (diff) | |
download | gentoo-2-a1cf1c2d4a19aebf71eebaf71cab18d08552ce56.tar.gz gentoo-2-a1cf1c2d4a19aebf71eebaf71cab18d08552ce56.tar.bz2 gentoo-2-a1cf1c2d4a19aebf71eebaf71cab18d08552ce56.zip |
Respect LDFLAGS. Bug #335797
(Portage version: 2.1.9.14/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/icebreaker')
-rw-r--r-- | games-puzzle/icebreaker/ChangeLog | 8 | ||||
-rw-r--r-- | games-puzzle/icebreaker/files/icebreaker-1.9.5-ldflags.patch | 11 | ||||
-rw-r--r-- | games-puzzle/icebreaker/icebreaker-1.9.5.ebuild | 13 |
3 files changed, 24 insertions, 8 deletions
diff --git a/games-puzzle/icebreaker/ChangeLog b/games-puzzle/icebreaker/ChangeLog index 9c2cb5f4beec..0aedb67b53f5 100644 --- a/games-puzzle/icebreaker/ChangeLog +++ b/games-puzzle/icebreaker/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-puzzle/icebreaker -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/icebreaker/ChangeLog,v 1.12 2007/03/13 13:39:14 nyhm Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/icebreaker/ChangeLog,v 1.13 2010/10/11 16:08:48 tupone Exp $ + + 11 Oct 2010; Tupone Alfredo <tupone@gentoo.org> icebreaker-1.9.5.ebuild, + +files/icebreaker-1.9.5-ldflags.patch: + Respect LDFLAGS. Bug #335797 by flameeyes@gentoo.org 13 Mar 2007; Tristan Heaven <nyhm@gentoo.org> icebreaker-1.9.5.ebuild: Install menu entry, bug #160226 diff --git a/games-puzzle/icebreaker/files/icebreaker-1.9.5-ldflags.patch b/games-puzzle/icebreaker/files/icebreaker-1.9.5-ldflags.patch new file mode 100644 index 000000000000..b715fc549283 --- /dev/null +++ b/games-puzzle/icebreaker/files/icebreaker-1.9.5-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2010-10-11 17:45:35.000000000 +0200 ++++ Makefile 2010-10-11 17:46:31.000000000 +0200 +@@ -177,7 +177,7 @@ + [ -d win32.build ] && rm -rf win32.build || true + + icebreaker: $(SRC:.c=.o) +- $(CC) $(CFLAGS) $^ -o icebreaker $(SDL_LIB) ++ $(CC) $(LDFLAGS) $(CFLAGS) $^ -o icebreaker $(SDL_LIB) + + man: icebreaker.6 + diff --git a/games-puzzle/icebreaker/icebreaker-1.9.5.ebuild b/games-puzzle/icebreaker/icebreaker-1.9.5.ebuild index e130f2b015c2..03e84521b43e 100644 --- a/games-puzzle/icebreaker/icebreaker-1.9.5.ebuild +++ b/games-puzzle/icebreaker/icebreaker-1.9.5.ebuild @@ -1,6 +1,7 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/icebreaker/icebreaker-1.9.5.ebuild,v 1.11 2007/03/13 13:39:14 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/icebreaker/icebreaker-1.9.5.ebuild,v 1.12 2010/10/11 16:08:48 tupone Exp $ +EAPI="2" inherit eutils games @@ -13,13 +14,13 @@ SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" -DEPEND="media-libs/libsdl +RDEPEND="media-libs/libsdl media-libs/sdl-mixer" +DEPEND="${RDEPEND}" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i '/install/s/-s //' Makefile || die "sed failed" + epatch "${FILESDIR}"/${P}-ldflags.patch } src_compile() { |