summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-14 19:59:39 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-14 19:59:39 +0000
commit70e433ac0d6022a931ae38716ef0cdec1ae5e3ff (patch)
treeb688fa151c8f5a5c69b75a1495f88d8a4ab245a0 /games-arcade
parentarm stable, bug #328383 (diff)
downloadgentoo-2-70e433ac0d6022a931ae38716ef0cdec1ae5e3ff.tar.gz
gentoo-2-70e433ac0d6022a931ae38716ef0cdec1ae5e3ff.tar.bz2
gentoo-2-70e433ac0d6022a931ae38716ef0cdec1ae5e3ff.zip
Fix underlink. Bug #368923
(Portage version: 2.1.10.2/cvs/Linux x86_64)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/pengupop/ChangeLog8
-rw-r--r--games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch11
-rw-r--r--games-arcade/pengupop/pengupop-2.2.5.ebuild12
3 files changed, 25 insertions, 6 deletions
diff --git a/games-arcade/pengupop/ChangeLog b/games-arcade/pengupop/ChangeLog
index ec56e80234db..2659a6363a79 100644
--- a/games-arcade/pengupop/ChangeLog
+++ b/games-arcade/pengupop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/pengupop
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/pengupop/ChangeLog,v 1.19 2010/06/14 17:18:49 mr_bones_ Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/pengupop/ChangeLog,v 1.20 2011/06/14 19:59:39 tupone Exp $
+
+ 14 Jun 2011; Tupone Alfredo <tupone@gentoo.org> pengupop-2.2.5.ebuild,
+ +files/pengupop-2.2.5-underlink.patch:
+ Fix underlink. Bug #368923 by Diego Elio Pettenò
14 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org>
pengupop-2.2.5.ebuild:
diff --git a/games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch b/games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch
new file mode 100644
index 000000000000..9fd93a56cd6d
--- /dev/null
+++ b/games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch
@@ -0,0 +1,11 @@
+--- Makefile.am.old 2011-06-14 21:44:40.242317771 +0200
++++ Makefile.am 2011-06-14 21:44:49.216882568 +0200
+@@ -25,7 +25,7 @@
+ endif
+ if DARWIN
+ pengupop_LDFLAGS = -framework Carbon -framework CoreServices -framework AudioUnit -framework QuickTime -framework Cocoa -framework IOKit -framework OpenGL -framework SDL SDLMain.m
+-pengupop_LDADD = -lz -lstdc++
++pengupop_LDADD = -lz -lstdc++ -lm
+
+ all-local: Pengupop.dmg
+
diff --git a/games-arcade/pengupop/pengupop-2.2.5.ebuild b/games-arcade/pengupop/pengupop-2.2.5.ebuild
index cf39e5eb87bd..02689c652d22 100644
--- a/games-arcade/pengupop/pengupop-2.2.5.ebuild
+++ b/games-arcade/pengupop/pengupop-2.2.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/pengupop/pengupop-2.2.5.ebuild,v 1.4 2010/06/14 17:18:49 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/pengupop/pengupop-2.2.5.ebuild,v 1.5 2011/06/14 19:59:39 tupone Exp $
EAPI=2
-inherit eutils games
+inherit eutils autotools games
DESCRIPTION="Networked multiplayer-only Puzzle Bubble clone"
HOMEPAGE="http://freshmeat.net/projects/pengupop"
@@ -18,10 +18,14 @@ DEPEND="media-libs/libsdl[audio,video]
sys-libs/zlib"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-underlink.patch
+
sed -i \
-e 's/-g -Wall -O2/-Wall/' \
- Makefile.in \
+ Makefile.am \
|| die "sed failed"
+
+ eautoreconf
}
src_install() {