summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-03-12 20:41:36 +0000
committerSamuli Suominen <drac@gentoo.org>2007-03-12 20:41:36 +0000
commitfb5d2771d9849fb4f63f630324faa59f5cf0997a (patch)
treeca5045bd9cdddde7991db5f7dd296e37714f17c7 /media-gfx/xsvg
parentkeyworded ~x86, bug 167011 (diff)
downloadgentoo-2-fb5d2771d9849fb4f63f630324faa59f5cf0997a.tar.gz
gentoo-2-fb5d2771d9849fb4f63f630324faa59f5cf0997a.tar.bz2
gentoo-2-fb5d2771d9849fb4f63f630324faa59f5cf0997a.zip
Fix undefined references with asneeded..
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-gfx/xsvg')
-rw-r--r--media-gfx/xsvg/ChangeLog6
-rw-r--r--media-gfx/xsvg/files/xsvg-0.2.1-asneeded.patch9
-rw-r--r--media-gfx/xsvg/metadata.xml4
-rw-r--r--media-gfx/xsvg/xsvg-0.2.1.ebuild13
4 files changed, 29 insertions, 3 deletions
diff --git a/media-gfx/xsvg/ChangeLog b/media-gfx/xsvg/ChangeLog
index 813ae902f3e7..71a702693740 100644
--- a/media-gfx/xsvg/ChangeLog
+++ b/media-gfx/xsvg/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/xsvg
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/ChangeLog,v 1.13 2007/03/12 20:01:12 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/ChangeLog,v 1.14 2007/03/12 20:41:36 drac Exp $
+
+ 12 Mar 2007; Samuli Suominen <drac@gentoo.org>
+ +files/xsvg-0.2.1-asneeded.patch, metadata.xml, xsvg-0.2.1.ebuild:
+ Fix undefined references with asneeded.
12 Mar 2007; Samuli Suominen <drac@gentoo.org> -xsvg-0.2.0.ebuild,
xsvg-0.2.1.ebuild:
diff --git a/media-gfx/xsvg/files/xsvg-0.2.1-asneeded.patch b/media-gfx/xsvg/files/xsvg-0.2.1-asneeded.patch
new file mode 100644
index 000000000000..aafe09893476
--- /dev/null
+++ b/media-gfx/xsvg/files/xsvg-0.2.1-asneeded.patch
@@ -0,0 +1,9 @@
+diff -ur xsvg-0.2.1.orig/src/Makefile.am xsvg-0.2.1/src/Makefile.am
+--- xsvg-0.2.1.orig/src/Makefile.am 2003-12-19 17:07:21.000000000 +0200
++++ xsvg-0.2.1/src/Makefile.am 2007-03-12 22:31:55.000000000 +0200
+@@ -6,4 +6,4 @@
+ xsvg.c
+
+ AM_CFLAGS = $(X_CFLAGS) $(XSVG_CFLAGS)
+-xsvg_LDFLAGS = $(X_LIBS) $(XSVG_LIBS)
++xsvg_LDADD = $(X_LIBS) $(XSVG_LIBS)
diff --git a/media-gfx/xsvg/metadata.xml b/media-gfx/xsvg/metadata.xml
index 0277d97e7d3f..514c3eff485d 100644
--- a/media-gfx/xsvg/metadata.xml
+++ b/media-gfx/xsvg/metadata.xml
@@ -10,4 +10,8 @@
<email>twp@gentoo.org</email>
<name>Tom Payne</name>
</maintainer>
+<maintainer>
+ <email>drac@gentoo.org</email>
+ <name>Samuli Suominen</name>
+</maintainer>
</pkgmetadata>
diff --git a/media-gfx/xsvg/xsvg-0.2.1.ebuild b/media-gfx/xsvg/xsvg-0.2.1.ebuild
index 687ca9e0e4ca..563181233846 100644
--- a/media-gfx/xsvg/xsvg-0.2.1.ebuild
+++ b/media-gfx/xsvg/xsvg-0.2.1.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/xsvg-0.2.1.ebuild,v 1.3 2007/03/12 20:01:12 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/xsvg-0.2.1.ebuild,v 1.4 2007/03/12 20:41:36 drac Exp $
-DESCRIPTION="X11 SVG viewer"
+inherit autotools eutils
+
+DESCRIPTION="Command line usable X11 SVG viewer"
HOMEPAGE="http://cairographics.org"
SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz"
LICENSE="BSD"
@@ -14,6 +16,13 @@ DEPEND="${RDEPEND}
x11-libs/libXt
x11-libs/libXcursor"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ eautoreconf
+}
+
src_install() {
emake DESTDIR=${D} install || die "emake install failed."
}