summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-22 16:24:25 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-22 16:24:25 +0000
commit9845ea597d9c435ba66eb9e0f369e61203a49cbc (patch)
treea8a6f909ee4918fae52f80160d706ed3f80358ac /games-action/garden
parenthttp://my.opera.com/desktopteam/blog/2011/06/22/featherweight (diff)
downloadgentoo-2-9845ea597d9c435ba66eb9e0f369e61203a49cbc.tar.gz
gentoo-2-9845ea597d9c435ba66eb9e0f369e61203a49cbc.tar.bz2
gentoo-2-9845ea597d9c435ba66eb9e0f369e61203a49cbc.zip
Fix underlink. Bug #371611
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-action/garden')
-rw-r--r--games-action/garden/ChangeLog6
-rw-r--r--games-action/garden/files/garden-1.0.8-underlink.patch19
-rw-r--r--games-action/garden/garden-1.0.8.ebuild10
3 files changed, 28 insertions, 7 deletions
diff --git a/games-action/garden/ChangeLog b/games-action/garden/ChangeLog
index a7e986702fcc..0bc55e756888 100644
--- a/games-action/garden/ChangeLog
+++ b/games-action/garden/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/garden
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/garden/ChangeLog,v 1.7 2011/05/23 01:08:43 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/garden/ChangeLog,v 1.8 2011/06/22 16:24:25 tupone Exp $
+
+ 22 Jun 2011; Tupone Alfredo <tupone@gentoo.org> garden-1.0.8.ebuild,
+ +files/garden-1.0.8-underlink.patch:
+ Fix underlink. Bug #371611 by Diego Elio Pettenò
23 May 2011; Joseph Jezak <josejx@gentoo.org> garden-1.0.8.ebuild:
Marked ~ppc for bug #365995.
diff --git a/games-action/garden/files/garden-1.0.8-underlink.patch b/games-action/garden/files/garden-1.0.8-underlink.patch
new file mode 100644
index 000000000000..bd25a4d57384
--- /dev/null
+++ b/games-action/garden/files/garden-1.0.8-underlink.patch
@@ -0,0 +1,19 @@
+--- bin/Makefile.am.old 2011-06-22 18:16:30.654661047 +0200
++++ bin/Makefile.am 2011-06-22 18:16:55.662251326 +0200
+@@ -9,6 +9,7 @@
+ garden_LDFLAGS = -static
+ else #unix version :-)
+ AM_CPPFLAGS = -D'DATADIR="@DATADIR_NAME@"'
++garden_LDADD = -lm
+ endif
+
+ #how to build resources?
+--- Makefile.am.old 2011-06-22 18:19:37.787560851 +0200
++++ Makefile.am 2011-06-22 18:19:44.078960907 +0200
+@@ -1,5 +1,5 @@
+ ACLOCAL_AMFLAGS= -I m4
+-SUBDIRS = bin resources
++SUBDIRS = bin
+
+ if NO_EXISTING_DATA
+ SUBDIRS += data
diff --git a/games-action/garden/garden-1.0.8.ebuild b/games-action/garden/garden-1.0.8.ebuild
index aad054a1b559..f08e37edf105 100644
--- a/games-action/garden/garden-1.0.8.ebuild
+++ b/games-action/garden/garden-1.0.8.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/garden/garden-1.0.8.ebuild,v 1.5 2011/05/23 01:08:43 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/garden/garden-1.0.8.ebuild,v 1.6 2011/06/22 16:24:25 tupone Exp $
EAPI=2
-inherit eutils games
+inherit eutils autotools games
DESCRIPTION="Multiplatform vertical shoot-em-up with non-traditional elements"
HOMEPAGE="http://garden.sourceforge.net/"
@@ -17,10 +17,8 @@ IUSE=""
DEPEND="<media-libs/allegro-5"
src_prepare() {
- sed -i \
- -e '/SUBDIRS/s:resources::' \
- Makefile.in \
- || die "sed failed"
+ epatch "${FILESDIR}"/${P}-underlink.patch
+ eautoreconf
}
src_install() {