summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-02-25 13:23:06 +0000
committerSamuli Suominen <drac@gentoo.org>2007-02-25 13:23:06 +0000
commitad030d97c768f1b44faaf71024f3d820dacb0a2e (patch)
treebcc192d6871a465f8750db8d79060f723730777b /media-libs
parentuse doins (diff)
downloadgentoo-2-ad030d97c768f1b44faaf71024f3d820dacb0a2e.tar.gz
gentoo-2-ad030d97c768f1b44faaf71024f3d820dacb0a2e.tar.bz2
gentoo-2-ad030d97c768f1b44faaf71024f3d820dacb0a2e.zip
--as-needed patch by me, committing with permission from genstef. thank ye.
(Portage version: 2.1.2-r11)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/paragui/ChangeLog6
-rw-r--r--media-libs/paragui/files/paragui-1.1.8-asneeded.patch11
-rw-r--r--media-libs/paragui/paragui-1.1.8.ebuild15
3 files changed, 28 insertions, 4 deletions
diff --git a/media-libs/paragui/ChangeLog b/media-libs/paragui/ChangeLog
index 45127c39b6d0..94c5890a4207 100644
--- a/media-libs/paragui/ChangeLog
+++ b/media-libs/paragui/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/paragui
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/ChangeLog,v 1.25 2007/02/22 02:04:32 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/ChangeLog,v 1.26 2007/02/25 13:23:06 drac Exp $
+
+ 25 Feb 2007; Samuli Suominen <drac@gentoo.org>
+ +files/paragui-1.1.8-asneeded.patch, paragui-1.1.8.ebuild:
+ Add --as-needed patch for test/keyboard compile.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/media-libs/paragui/files/paragui-1.1.8-asneeded.patch b/media-libs/paragui/files/paragui-1.1.8-asneeded.patch
new file mode 100644
index 000000000000..d114cf153bab
--- /dev/null
+++ b/media-libs/paragui/files/paragui-1.1.8-asneeded.patch
@@ -0,0 +1,11 @@
+diff -ur paragui-1.1.8.orig/src/Makefile.am paragui-1.1.8/src/Makefile.am
+--- paragui-1.1.8.orig/src/Makefile.am 2004-09-26 21:13:42.000000000 +0300
++++ paragui-1.1.8/src/Makefile.am 2007-02-25 14:19:14.000000000 +0200
+@@ -11,6 +11,7 @@
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
+ libparagui_la_LIBADD = \
++ $(FREETYPE_LIBS) \
+ $(SIGC_LIBS) \
+ $(SDL_LIBS) \
+ $(EXPAT_LIB) \
diff --git a/media-libs/paragui/paragui-1.1.8.ebuild b/media-libs/paragui/paragui-1.1.8.ebuild
index c5027a842212..6012501a49fb 100644
--- a/media-libs/paragui/paragui-1.1.8.ebuild
+++ b/media-libs/paragui/paragui-1.1.8.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/paragui-1.1.8.ebuild,v 1.5 2006/09/06 20:36:16 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/paragui/paragui-1.1.8.ebuild,v 1.6 2007/02/25 13:23:06 drac Exp $
-inherit eutils
+WANT_AUTOMAKE="1.8"
+
+inherit autotools eutils
DESCRIPTION="A cross-platform high-level application framework and GUI library"
HOMEPAGE="http://www.paragui.org/"
@@ -27,6 +29,13 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-header.patch
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+}
+
+src_compile() {
+ eautomake
+ econf
+ emake || die "emake failed."
}
src_install() {