summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-11 16:08:48 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-11 16:08:48 +0000
commitafbb63cbf4ba165771ef9cf8e02bf30ff2c39b00 (patch)
treeab00bae7afcb11b90ef09536b85a6658b51b124d /games-puzzle/icebreaker
parentInitial import, ebuild by me, this is part of TeX Live 2010 (diff)
downloadhistorical-afbb63cbf4ba165771ef9cf8e02bf30ff2c39b00.tar.gz
historical-afbb63cbf4ba165771ef9cf8e02bf30ff2c39b00.tar.bz2
historical-afbb63cbf4ba165771ef9cf8e02bf30ff2c39b00.zip
Respect LDFLAGS. Bug #335797
Package-Manager: portage-2.1.9.14/cvs/Linux i686
Diffstat (limited to 'games-puzzle/icebreaker')
-rw-r--r--games-puzzle/icebreaker/ChangeLog8
-rw-r--r--games-puzzle/icebreaker/Manifest5
-rw-r--r--games-puzzle/icebreaker/files/icebreaker-1.9.5-ldflags.patch11
-rw-r--r--games-puzzle/icebreaker/icebreaker-1.9.5.ebuild13
4 files changed, 27 insertions, 10 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/Manifest b/games-puzzle/icebreaker/Manifest
index f2e4ec970024..eb4401be7ddd 100644
--- a/games-puzzle/icebreaker/Manifest
+++ b/games-puzzle/icebreaker/Manifest
@@ -1,4 +1,5 @@
+AUX icebreaker-1.9.5-ldflags.patch 327 RMD160 8813363b8bd05b1fdcf9b197ddee4b12244ec9ed SHA1 9e389c6d9733379c1aca8ddf41d47a91b043d78b SHA256 7ea29f42c5151ccc73aba9e3f1e3f2bf75ea081000aca556e4bd0d3289cb877f
DIST icebreaker-1.9.5.tgz 116012 RMD160 c498135b286c9d2f85185c7f5343e498ec851cf0 SHA1 430bcc878cfb5c7bb37940c3e07da8a7b6c98174 SHA256 f283bc82df84b5f016efa6b1e6095914379cf2acac9c5692025275ff96102867
-EBUILD icebreaker-1.9.5.ebuild 1110 RMD160 40c2fa6a04580512227ff5b24937eb0bdbdd3b5d SHA1 1e343aab2b5cc5f942a6bf9d6223be5f3db49151 SHA256 83c25143a360df1aa1e7482288a03352d59ead726575b7f11dd916f2b39ffd0d
-MISC ChangeLog 2038 RMD160 55893a37a6bf7051a318ef46eb233cb607b596ad SHA1 28d850eefac0f90cca16ab98b7211f8068919a5c SHA256 1cc7de83cb9e14a0b7ef36c81b7c0979627df87405ff1733fad884c31ac5f8be
+EBUILD icebreaker-1.9.5.ebuild 1160 RMD160 a29141aa6481611538b21fcc6025bcd3c0fb6f38 SHA1 3bc9f5136afe66cdf11a09725534068a6c4d6a06 SHA256 155ae30ff56a6e2598a2443fdaa6a33910a0eef4a7cf1426b4a4cf0758444a62
+MISC ChangeLog 2212 RMD160 3a85fed852d5a6a01f9e180262d2906fdb6bdb1a SHA1 bb9ff73c62f6a6ab62491a7b3c482576e5e8878a SHA256 ffeae49b3fd64c003f542f80f0f08d838b71140f68f462cedec0bc11e48fc564
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
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() {