summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-01-08 15:05:34 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-01-08 15:05:34 +0000
commitb58fd09e0f0f8438bb3e5972aa24bb056d5a5d5a (patch)
tree7d1ada35426d6a9e5af7353af80991e5fdaf3f4b /dev-util/bugle
parentFix building with -Wl,--as-needed wrt #296656, thanks to Kacper Kowalik for p... (diff)
downloadgentoo-2-b58fd09e0f0f8438bb3e5972aa24bb056d5a5d5a.tar.gz
gentoo-2-b58fd09e0f0f8438bb3e5972aa24bb056d5a5d5a.tar.bz2
gentoo-2-b58fd09e0f0f8438bb3e5972aa24bb056d5a5d5a.zip
Fix building with -Wl,--as-needed wrt #297638, thanks to Kacper Kowalik for patch.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/bugle')
-rw-r--r--dev-util/bugle/ChangeLog9
-rw-r--r--dev-util/bugle/bugle-0.0.20090801.ebuild11
-rw-r--r--dev-util/bugle/files/bugle-0.0.20090801-asneeded.patch11
3 files changed, 26 insertions, 5 deletions
diff --git a/dev-util/bugle/ChangeLog b/dev-util/bugle/ChangeLog
index 08e0daf4fc1c..8be04116ffe6 100644
--- a/dev-util/bugle/ChangeLog
+++ b/dev-util/bugle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/bugle
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bugle/ChangeLog,v 1.10 2009/08/22 09:32:16 scarabeus Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bugle/ChangeLog,v 1.11 2010/01/08 15:05:33 ssuominen Exp $
+
+ 08 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
+ bugle-0.0.20090801.ebuild, +files/bugle-0.0.20090801-asneeded.patch:
+ Fix building with -Wl,--as-needed wrt #297638, thanks to Kacper Kowalik
+ for patch.
*bugle-0.0.20090801 (22 Aug 2009)
diff --git a/dev-util/bugle/bugle-0.0.20090801.ebuild b/dev-util/bugle/bugle-0.0.20090801.ebuild
index a7ed9ca18ceb..633b3a47ffa3 100644
--- a/dev-util/bugle/bugle-0.0.20090801.ebuild
+++ b/dev-util/bugle/bugle-0.0.20090801.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bugle/bugle-0.0.20090801.ebuild,v 1.1 2009/08/22 09:32:16 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bugle/bugle-0.0.20090801.ebuild,v 1.2 2010/01/08 15:05:33 ssuominen Exp $
EAPI="2"
-inherit toolchain-funcs
+inherit autotools eutils toolchain-funcs
DESCRIPTION="A tool for OpenGL debugging"
HOMEPAGE="http://www.opengl.org/sdk/tools/BuGLe/"
@@ -23,6 +23,11 @@ DEPEND="ffmpeg? ( >=media-video/ffmpeg-0.5 )
sys-libs/ncurses"
RDEPEND="${DEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ eautoreconf
+}
+
src_configure() {
econf \
--disable-dependency-tracking \
diff --git a/dev-util/bugle/files/bugle-0.0.20090801-asneeded.patch b/dev-util/bugle/files/bugle-0.0.20090801-asneeded.patch
new file mode 100644
index 000000000000..90f4792e903f
--- /dev/null
+++ b/dev-util/bugle/files/bugle-0.0.20090801-asneeded.patch
@@ -0,0 +1,11 @@
+--- configure.ac
++++ configure.ac
+@@ -242,8 +242,6 @@
+ fi
+ if test x$HAVE_GTKGLEXT = x0
+ then
+- HAVE_GLEW=0
+- GLEW_LIBS=""
+ GTKGLEXT_LIBS=""
+ fi
+ AC_DEFINE_UNQUOTED(HAVE_GTKGLEXT, $HAVE_GTKGLEXT, [non-zero when all the requirements for GtkGLExt are met])