summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-01-28 15:53:45 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-01-28 15:53:45 +0000
commit555b4f4e7c0e3b24201c49deffa3f0f426d0e471 (patch)
treed4c230901b06c7c2872e99f3a515413e309646be /dev-games/KXL
parentVersion bump (diff)
downloadgentoo-2-555b4f4e7c0e3b24201c49deffa3f0f426d0e471.tar.gz
gentoo-2-555b4f4e7c0e3b24201c49deffa3f0f426d0e471.tar.bz2
gentoo-2-555b4f4e7c0e3b24201c49deffa3f0f426d0e471.zip
Fix --as-needed bug #247284
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
Diffstat (limited to 'dev-games/KXL')
-rw-r--r--dev-games/KXL/ChangeLog8
-rw-r--r--dev-games/KXL/KXL-1.1.7-r1.ebuild10
-rw-r--r--dev-games/KXL/files/KXL-1.1.7-as-needed.patch8
3 files changed, 20 insertions, 6 deletions
diff --git a/dev-games/KXL/ChangeLog b/dev-games/KXL/ChangeLog
index 92b125e5a68a..f75c913b471c 100644
--- a/dev-games/KXL/ChangeLog
+++ b/dev-games/KXL/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/KXL
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/KXL/ChangeLog,v 1.8 2007/05/13 20:42:28 tupone Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/KXL/ChangeLog,v 1.9 2009/01/28 15:53:45 tupone Exp $
+
+ 28 Jan 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/KXL-1.1.7-as-needed.patch, KXL-1.1.7-r1.ebuild:
+ Fix --as-needed bug #247284 by flameeyes@gentoo.org
*KXL-1.1.7-r1 (13 May 2007)
diff --git a/dev-games/KXL/KXL-1.1.7-r1.ebuild b/dev-games/KXL/KXL-1.1.7-r1.ebuild
index e7e4c42d7dcc..a8dba61f5ea8 100644
--- a/dev-games/KXL/KXL-1.1.7-r1.ebuild
+++ b/dev-games/KXL/KXL-1.1.7-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 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/KXL/KXL-1.1.7-r1.ebuild,v 1.1 2007/05/13 20:42:28 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/KXL/KXL-1.1.7-r1.ebuild,v 1.2 2009/01/28 15:53:45 tupone Exp $
-inherit eutils
+inherit eutils autotools
DESCRIPTION="Development Library for making games for X"
HOMEPAGE="http://kxl.orz.hm/"
@@ -19,7 +19,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-m4.patch \
- "${FILESDIR}"/${P}-amd64.patch
+ "${FILESDIR}"/${P}-amd64.patch \
+ "${FILESDIR}"/${P}-as-needed.patch
+ eautoreconf
}
src_install() {
diff --git a/dev-games/KXL/files/KXL-1.1.7-as-needed.patch b/dev-games/KXL/files/KXL-1.1.7-as-needed.patch
new file mode 100644
index 000000000000..d99564202ecd
--- /dev/null
+++ b/dev-games/KXL/files/KXL-1.1.7-as-needed.patch
@@ -0,0 +1,8 @@
+--- src/Makefile.am.old 2009-01-28 16:03:27.000000000 +0100
++++ src/Makefile.am 2009-01-28 16:03:47.000000000 +0100
+@@ -2,3 +2,4 @@
+ libKXL_la_SOURCES = KXLmisc.c KXLsound.c KXLjoystick.c KXLvisual.c KXLimage.c
+ include_HEADERS = KXL.h
+ libKXL_la_LDFLAGS = -release $(VERSION)
++libKXL_la_LIBADD = -lX11
+