summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-06 12:39:05 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-06 12:39:05 +0000
commit456a215a9f597a18be541c06459d077146180834 (patch)
tree27527707b07a8ad1804fadc3e3f32da15a7d8018 /dev-libs/redland
parentamd64/x86 stable, bug #271889 (diff)
downloadgentoo-2-456a215a9f597a18be541c06459d077146180834.tar.gz
gentoo-2-456a215a9f597a18be541c06459d077146180834.tar.bz2
gentoo-2-456a215a9f597a18be541c06459d077146180834.zip
Respect LDFLAGS wrt #267405, thanks to Davide Pesavento for reporting.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/redland')
-rw-r--r--dev-libs/redland/ChangeLog6
-rw-r--r--dev-libs/redland/files/redland-1.0.9-ldflags.patch12
-rw-r--r--dev-libs/redland/redland-1.0.9.ebuild8
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-libs/redland/ChangeLog b/dev-libs/redland/ChangeLog
index 9d0b7e918ca0..842e72020d2e 100644
--- a/dev-libs/redland/ChangeLog
+++ b/dev-libs/redland/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/redland
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland/ChangeLog,v 1.43 2009/05/22 15:47:13 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland/ChangeLog,v 1.44 2009/06/06 12:39:05 ssuominen Exp $
+
+ 06 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> redland-1.0.9.ebuild,
+ +files/redland-1.0.9-ldflags.patch:
+ Respect LDFLAGS wrt #267405, thanks to Davide Pesavento for reporting.
22 May 2009; Raúl Porcel <armin76@gentoo.org> redland-1.0.8.ebuild:
ia64 stable wrt #269527
diff --git a/dev-libs/redland/files/redland-1.0.9-ldflags.patch b/dev-libs/redland/files/redland-1.0.9-ldflags.patch
new file mode 100644
index 000000000000..504fe3e1f93d
--- /dev/null
+++ b/dev-libs/redland/files/redland-1.0.9-ldflags.patch
@@ -0,0 +1,12 @@
+diff -ur redland-1.0.9.orig/configure.ac redland-1.0.9/configure.ac
+--- redland-1.0.9.orig/configure.ac 2009-04-13 04:01:30.000000000 +0300
++++ redland-1.0.9/configure.ac 2009-06-06 15:38:38.000000000 +0300
+@@ -952,7 +952,7 @@
+
+ LIBS=
+ CPPFLAGS=
+-LDFLAGS=
++LDFLAGS="$LDFLAGS"
+
+ LIBRDF_LIBTOOLLIBS=librdf.la
+
diff --git a/dev-libs/redland/redland-1.0.9.ebuild b/dev-libs/redland/redland-1.0.9.ebuild
index 92aba81d0e06..db2fa9907bbb 100644
--- a/dev-libs/redland/redland-1.0.9.ebuild
+++ b/dev-libs/redland/redland-1.0.9.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland/redland-1.0.9.ebuild,v 1.4 2009/05/12 16:35:38 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland/redland-1.0.9.ebuild,v 1.5 2009/06/06 12:39:05 ssuominen Exp $
EAPI=2
+inherit autotools eutils
DESCRIPTION="High-level interface for the Resource Description Framework"
HOMEPAGE="http://librdf.org"
@@ -25,6 +26,11 @@ RDEPEND="mysql? ( virtual/mysql )
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+ eautoreconf
+}
+
src_configure() {
local myconf