summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-07-13 12:59:34 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-07-13 12:59:34 +0000
commit4f4df0a817b7eef16aec150b012854a64f2aca8a (patch)
treeb45c11cab303380208d381b4384b778b6702cc1b /games-misc
parentUse emake rather than make. (diff)
downloadhistorical-4f4df0a817b7eef16aec150b012854a64f2aca8a.tar.gz
historical-4f4df0a817b7eef16aec150b012854a64f2aca8a.tar.bz2
historical-4f4df0a817b7eef16aec150b012854a64f2aca8a.zip
Fix build with --as-needed Bug #277149
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/gnurobots/ChangeLog6
-rw-r--r--games-misc/gnurobots/Manifest15
-rw-r--r--games-misc/gnurobots/files/gnurobots-1.2.0-ldflags.patch9
-rw-r--r--games-misc/gnurobots/gnurobots-1.2.0.ebuild9
4 files changed, 23 insertions, 16 deletions
diff --git a/games-misc/gnurobots/ChangeLog b/games-misc/gnurobots/ChangeLog
index 3530643c87aa..d1e667fa8704 100644
--- a/games-misc/gnurobots/ChangeLog
+++ b/games-misc/gnurobots/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-misc/gnurobots
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/ChangeLog,v 1.19 2009/05/22 22:40:31 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/ChangeLog,v 1.20 2009/07/13 12:59:33 tupone Exp $
+
+ 13 Jul 2009; Tupone Alfredo <tupone@gentoo.org>
+ +files/gnurobots-1.2.0-ldflags.patch, gnurobots-1.2.0.ebuild:
+ Fix build with --as-needed Bug #277149 by <flameeyes@gentoo.org>
22 May 2009; Tristan Heaven <nyhm@gentoo.org> gnurobots-1.2.0.ebuild:
Remove -pedantic-errors too, bug #254862
diff --git a/games-misc/gnurobots/Manifest b/games-misc/gnurobots/Manifest
index bac28955414b..554cb26e5024 100644
--- a/games-misc/gnurobots/Manifest
+++ b/games-misc/gnurobots/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX gnurobots-1.2.0-ldflags.patch 406 RMD160 2cb531ed4f48665a1f908e194e07989d135c0b6c SHA1 a13bdb519fb4215219d88106e24a7086b6e69fd4 SHA256 7bae625ff4f574e8469bd2b1cccd716c226339f390ef1cad2f5738b446947cfb
DIST gnurobots-1.2.0.tar.gz 176642 RMD160 5cdbd8ed9a11ea830f940a0ae653a46d01290843 SHA1 1d678d21509765a5ee288a99fbc1e0f446985187 SHA256 8b6f4f0d40bef5cfdfb7eb7c82ea1402d2747c37b2c7b7aa92faff55351df11d
-EBUILD gnurobots-1.2.0.ebuild 881 RMD160 2063a34284b56b7c1f90353288fa01edf3181192 SHA1 eb6dbd600f8aba31ee0a1ab4c6b5ab831d13a10f SHA256 63c0de5a65809ac96d553546d9ca1eb3e83d538fda067adc96f854112f6bd264
-MISC ChangeLog 1939 RMD160 134ac732d1e349586f342a2ec38eb9fa03167b98 SHA1 6b0e73b6b43e51b0d1291f1d951e74f9adf51cb7 SHA256 6c4b54ad74217315be66fb876bfddf0e7972174d44d716272f4969893582b106
+EBUILD gnurobots-1.2.0.ebuild 975 RMD160 a8e0d945f7b697600d308ca0bb47c24e87a7c2db SHA1 66d1bffcdb8f5701173c55d0d0c873bb43323dab SHA256 a9dffb797d835fff44f00f0fbe0a784328340d0dd40f8d57f91c51001abd7105
+MISC ChangeLog 2123 RMD160 e238d3d09c5e5a0a0f61d6d481cc38f9ad34b57f SHA1 8414cc3a9de5de9bb4e9c1e9f16a155da4361f10 SHA256 946767d21ca8f8ad094fd7a2369edb4bee181ab27469efcf8ae6564c65b820fd
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkoXKeUACgkQdz7hIScOURFlngCcDT2YncUnQGKn4NBPxcz4aolA
-vfsAn1B7nbNB3bSRT6zV3oL9qs/5aThK
-=d8eO
------END PGP SIGNATURE-----
diff --git a/games-misc/gnurobots/files/gnurobots-1.2.0-ldflags.patch b/games-misc/gnurobots/files/gnurobots-1.2.0-ldflags.patch
new file mode 100644
index 000000000000..c2a36b25a285
--- /dev/null
+++ b/games-misc/gnurobots/files/gnurobots-1.2.0-ldflags.patch
@@ -0,0 +1,9 @@
+--- src/Makefile.am.old 2009-07-13 14:10:53.000000000 +0200
++++ src/Makefile.am 2009-07-13 14:11:19.000000000 +0200
+@@ -28,5 +28,5 @@
+
+ gnurobots_SOURCES = main.c api.c map.c grobot.c \
+ ui-window.c ui-cmdwin.c ui-arena.c
+-gnurobots_LDFLAGS = $(GUILE_LDFLAGS) $(READLINE_LIBS) $(GTHREAD2_LIBS) \
++gnurobots_LDADD = $(GUILE_LDFLAGS) $(READLINE_LIBS) $(GTHREAD2_LIBS) \
+ $(GTK2_LIBS) $(VTE_LIBS) -lutil
diff --git a/games-misc/gnurobots/gnurobots-1.2.0.ebuild b/games-misc/gnurobots/gnurobots-1.2.0.ebuild
index 7accc6404816..39b3f8841689 100644
--- a/games-misc/gnurobots/gnurobots-1.2.0.ebuild
+++ b/games-misc/gnurobots/gnurobots-1.2.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/gnurobots-1.2.0.ebuild,v 1.5 2009/05/22 22:40:31 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/gnurobots-1.2.0.ebuild,v 1.6 2009/07/13 12:59:33 tupone Exp $
EAPI=2
-inherit games
+inherit eutils autotools games
DESCRIPTION="construct a program for a little robot then set him loose
and watch him explore a world on his own"
@@ -16,14 +16,17 @@ KEYWORDS="~amd64 ppc x86"
IUSE=""
RESTRICT="test"
-DEPEND="x11-libs/vte
+RDEPEND="x11-libs/vte
dev-scheme/guile"
+DEPEND="${RDEPEND}"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags.patch
sed -i \
-e 's/-pedantic-errors -Werror//' \
configure \
|| die "sed failed"
+ eautoreconf
}
src_install() {