summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-22 05:52:00 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-22 05:52:00 +0000
commit96383d544aed1fc55915c32c2a9ca8dd2152d071 (patch)
treea3a905d4b1750f2078b6ad5ac4dd1d5ac80c5582 /games-strategy/liquidwar
parentFix spidermonkey versions for the new versioning scheme (diff)
downloadgentoo-2-96383d544aed1fc55915c32c2a9ca8dd2152d071.tar.gz
gentoo-2-96383d544aed1fc55915c32c2a9ca8dd2152d071.tar.bz2
gentoo-2-96383d544aed1fc55915c32c2a9ca8dd2152d071.zip
Fix underlink. Bug #371749
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy/liquidwar')
-rw-r--r--games-strategy/liquidwar/ChangeLog6
-rw-r--r--games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch11
-rw-r--r--games-strategy/liquidwar/liquidwar-5.6.4.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/games-strategy/liquidwar/ChangeLog b/games-strategy/liquidwar/ChangeLog
index fd61512ab724..0a24cb2d69be 100644
--- a/games-strategy/liquidwar/ChangeLog
+++ b/games-strategy/liquidwar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/liquidwar
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.24 2011/03/26 17:25:41 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.25 2011/06/22 05:52:00 tupone Exp $
+
+ 22 Jun 2011; Tupone Alfredo <tupone@gentoo.org> liquidwar-5.6.4.ebuild,
+ +files/liquidwar-5.6.4-underlink.patch:
+ Fix underlink. Bug #371749 by Diego Elio Pettenò
26 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> liquidwar-5.6.3.ebuild,
liquidwar-5.6.4.ebuild:
diff --git a/games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch b/games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch
new file mode 100644
index 000000000000..2bc53e0caccb
--- /dev/null
+++ b/games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.in.old 2011-06-22 07:45:05.756127862 +0200
++++ src/Makefile.in 2011-06-22 07:46:00.681613957 +0200
+@@ -223,7 +223,7 @@
+ EXTERN_LIBS = `allegro-config --static $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY)
+ else
+ LINK_OPTIONS =
+- EXTERN_LIBS = `allegro-config --libs $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY)
++ EXTERN_LIBS = `allegro-config --libs $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY) -lm
+ endif
+
+ CONFIG_OPTIONS = \
diff --git a/games-strategy/liquidwar/liquidwar-5.6.4.ebuild b/games-strategy/liquidwar/liquidwar-5.6.4.ebuild
index 73a075a020bc..ff82371a6587 100644
--- a/games-strategy/liquidwar/liquidwar-5.6.4.ebuild
+++ b/games-strategy/liquidwar/liquidwar-5.6.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.4.ebuild,v 1.8 2011/03/26 17:25:41 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.4.ebuild,v 1.9 2011/06/22 05:52:00 tupone Exp $
EAPI=2
inherit eutils games
@@ -37,6 +37,7 @@ src_prepare() {
-e '/^GAMEDIR/ s/$(exec_prefix)/@bindir@/' \
-e 's:/games::' src/Makefile.in \
|| die "sed src/Makefile.in failed"
+ epatch "${FILESDIR}"/${P}-underlink.patch
}
src_configure() {