summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-01-28 11:30:24 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-01-28 11:30:24 +0000
commitc982713676a4b7a60c7ddbd5f814c4c6414f6aa8 (patch)
tree463aeac9fb1b0994504f61620fa949e6029a9aa2 /dev-games
parentAdded ewarn about changes in spellchecking engine, bug #250115. (diff)
downloadhistorical-c982713676a4b7a60c7ddbd5f814c4c6414f6aa8.tar.gz
historical-c982713676a4b7a60c7ddbd5f814c4c6414f6aa8.tar.bz2
historical-c982713676a4b7a60c7ddbd5f814c4c6414f6aa8.zip
Declare dependant library to fix --as-needed bug #256443
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/guichan/ChangeLog9
-rw-r--r--dev-games/guichan/Manifest5
-rw-r--r--dev-games/guichan/files/guichan-0.8.1-as-needed.patch13
-rw-r--r--dev-games/guichan/guichan-0.8.1.ebuild13
4 files changed, 34 insertions, 6 deletions
diff --git a/dev-games/guichan/ChangeLog b/dev-games/guichan/ChangeLog
index 55375d65628d..4b89f6a51c57 100644
--- a/dev-games/guichan/ChangeLog
+++ b/dev-games/guichan/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/guichan
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/guichan/ChangeLog,v 1.13 2008/04/27 04:52:22 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/guichan/ChangeLog,v 1.14 2009/01/28 11:30:23 tupone Exp $
+
+ 28 Jan 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/guichan-0.8.1-as-needed.patch, guichan-0.8.1.ebuild:
+ Declare dependant library to fix --as-needed bug #256443 by Lars
+ (Polynomial-C) <polynomial-C@gmx.de>
*guichan-0.8.1 (27 Apr 2008)
diff --git a/dev-games/guichan/Manifest b/dev-games/guichan/Manifest
index 4d9d9496af4d..5529eaeecf29 100644
--- a/dev-games/guichan/Manifest
+++ b/dev-games/guichan/Manifest
@@ -1,4 +1,5 @@
+AUX guichan-0.8.1-as-needed.patch 441 RMD160 943ee4333edb68df000820e93cfca9c0d48929d3 SHA1 9e1d21fa78b25e85439d18421ee5185fae7b8247 SHA256 feb3cb06d8d6e67b5c1a3d029184da6ddf01dedbb6245aba7d08db9f93432ca3
DIST guichan-0.8.1.tar.gz 556670 RMD160 4a8238e0cf38057a1b8cedb2e7da62a5e8849d18 SHA1 7ab44c3b1b0f0577bc5e8a44b918f61cb66164c3 SHA256 6a48754f16ecb6f4da7c40bfff469f75b62127acc108b7f513d9bd85192b77d4
-EBUILD guichan-0.8.1.ebuild 945 RMD160 c61f8f95b2492f83dd7d2cd114de3e655b3fb39d SHA1 c42b764195f5d2203257f694bb8bd24b14ed7b65 SHA256 5512981355def5879773403a3a39badff80710e5106f5e184045962e3c1bfd8f
-MISC ChangeLog 1835 RMD160 6c85d1ee465fcd446de09dff1181bceee57a02b1 SHA1 e4b86e9f27c052bfaf873b67be4e280cbfb0974c SHA256 49db0c90c372ddb76dbf0aa0635bfcdaee083f320f61fd2b4b58888f4f4dff62
+EBUILD guichan-0.8.1.ebuild 1066 RMD160 ddb34e220999559c7cec37fb28193705722d5b30 SHA1 e9f523ac0741e1a8cd390624f32e24521e3a10ef SHA256 2b7c4079d9dd66d4afd2c82a1c150f03a80bdc00cebe3e63cea74ee405210e16
+MISC ChangeLog 2051 RMD160 e658e7610b1b41c63f75a066bd7c27a9574d78ef SHA1 3ea4792e33a26755df214a04a6f02863a246c71e SHA256 f0d0b933018d4d90e9bd278ce9f302485f5f89fb5c98d3eb706d5e3f3f2cf226
MISC metadata.xml 236 RMD160 883c6c7498e3248887a2ab25ade7db50544de6fe SHA1 0c5fe13fc5a85e0be007822fb1518a2eb0168887 SHA256 1b237224dc164d33a8ad46d480edcc72673b11274313cf167cb5acb50749a1f8
diff --git a/dev-games/guichan/files/guichan-0.8.1-as-needed.patch b/dev-games/guichan/files/guichan-0.8.1-as-needed.patch
new file mode 100644
index 000000000000..3908f6956a53
--- /dev/null
+++ b/dev-games/guichan/files/guichan-0.8.1-as-needed.patch
@@ -0,0 +1,13 @@
+--- src/sdl/Makefile.am.old 2009-01-28 11:45:52.000000000 +0100
++++ src/sdl/Makefile.am 2009-01-28 11:57:39.000000000 +0100
+@@ -6,6 +6,8 @@
+
+ libguichan_sdl_la_LDFLAGS = -no-undefined -release $(LT_RELEASE)
+-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
++libguichan_sdl_la_LIBADD = -lSDL_image -L$(top_srcdir)/src -lguichan
++
+ libguichan_sdl_la_SOURCES = \
+ sdl.cpp \
+ sdlgraphics.cpp \
+
diff --git a/dev-games/guichan/guichan-0.8.1.ebuild b/dev-games/guichan/guichan-0.8.1.ebuild
index d70d717226cf..2b16d7ad3996 100644
--- a/dev-games/guichan/guichan-0.8.1.ebuild
+++ b/dev-games/guichan/guichan-0.8.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/guichan/guichan-0.8.1.ebuild,v 1.1 2008/04/27 04:52:22 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/guichan/guichan-0.8.1.ebuild,v 1.2 2009/01/28 11:30:23 tupone Exp $
+
+inherit eutils autotools
DESCRIPTION="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
HOMEPAGE="http://guichan.sourceforge.net/"
@@ -18,6 +20,13 @@ DEPEND="allegro? ( media-libs/allegro )
media-libs/sdl-image
)"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ eautoreconf
+}
+
src_compile() {
econf \
--disable-dependency-tracking \