summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-05-17 15:34:04 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-05-17 15:34:04 +0000
commit6e3bf66efc88e6a4b2549cae121b3b8cd2665401 (patch)
tree97305765298e91dc14d21147113cd33435caf795 /media-libs/sdl-ttf
parentImport Enrico Tagliavini's ati-drivers-11.5.ebuild from the x11 overlay. (diff)
downloadgentoo-2-6e3bf66efc88e6a4b2549cae121b3b8cd2665401.tar.gz
gentoo-2-6e3bf66efc88e6a4b2549cae121b3b8cd2665401.tar.bz2
gentoo-2-6e3bf66efc88e6a4b2549cae121b3b8cd2665401.zip
Fix underlinking. Bug #367415
(Portage version: 2.1.9.49/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/sdl-ttf')
-rw-r--r--media-libs/sdl-ttf/ChangeLog6
-rw-r--r--media-libs/sdl-ttf/files/sdl-ttf-2.0.10-underlink.patch10
-rw-r--r--media-libs/sdl-ttf/sdl-ttf-2.0.10.ebuild10
3 files changed, 23 insertions, 3 deletions
diff --git a/media-libs/sdl-ttf/ChangeLog b/media-libs/sdl-ttf/ChangeLog
index 5ff9ee9a586f..e4e3c071e5b3 100644
--- a/media-libs/sdl-ttf/ChangeLog
+++ b/media-libs/sdl-ttf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/sdl-ttf
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.56 2011/03/23 20:14:28 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.57 2011/05/17 15:34:04 tupone Exp $
+
+ 17 May 2011; Tupone Alfredo <tupone@gentoo.org> sdl-ttf-2.0.10.ebuild,
+ +files/sdl-ttf-2.0.10-underlink.patch:
+ Fix underlinking. Bug #367415 by Diego Elio Pettenò
23 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> sdl-ttf-2.0.10.ebuild:
ppc64 stable wrt #354937
diff --git a/media-libs/sdl-ttf/files/sdl-ttf-2.0.10-underlink.patch b/media-libs/sdl-ttf/files/sdl-ttf-2.0.10-underlink.patch
new file mode 100644
index 000000000000..136589ec7f13
--- /dev/null
+++ b/media-libs/sdl-ttf/files/sdl-ttf-2.0.10-underlink.patch
@@ -0,0 +1,10 @@
+--- Makefile.am.old 2011-05-17 17:17:18.972003301 +0200
++++ Makefile.am 2011-05-17 17:18:38.281983708 +0200
+@@ -33,6 +33,7 @@
+ -release $(LT_RELEASE) \
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+ endif
++libSDL_ttf_la_LIBADD = @MATHLIB@
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = SDL_ttf.pc
diff --git a/media-libs/sdl-ttf/sdl-ttf-2.0.10.ebuild b/media-libs/sdl-ttf/sdl-ttf-2.0.10.ebuild
index df965413f283..3325248c6e6f 100644
--- a/media-libs/sdl-ttf/sdl-ttf-2.0.10.ebuild
+++ b/media-libs/sdl-ttf/sdl-ttf-2.0.10.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/sdl-ttf-2.0.10.ebuild,v 1.7 2011/03/23 20:14:28 xarthisius Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/sdl-ttf-2.0.10.ebuild,v 1.8 2011/05/17 15:34:04 tupone Exp $
EAPI=2
+inherit autotools
+
MY_P="${P/sdl-/SDL_}"
DESCRIPTION="library that allows you to use TrueType fonts in SDL applications"
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf/"
@@ -19,6 +20,11 @@ DEPEND="X? ( x11-libs/libXt )
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-underlink.patch
+ eautoreconf
+}
+
src_configure() {
econf \
--disable-dependency-tracking \