summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-08-07 11:40:11 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-08-07 11:40:11 +0000
commitd40496ae338086a0d0cccfec443cde80711a185e (patch)
treebd577f034a923435d15217efe5b977418d3469ff /dev-libs
parentAdd live master branch ebuild (WON'T WORK, bugs only with attached patches), ... (diff)
downloadgentoo-2-d40496ae338086a0d0cccfec443cde80711a185e.tar.gz
gentoo-2-d40496ae338086a0d0cccfec443cde80711a185e.tar.bz2
gentoo-2-d40496ae338086a0d0cccfec443cde80711a185e.zip
Fix underlinking wrt #368917 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/librapi2/ChangeLog6
-rw-r--r--dev-libs/librapi2/files/librapi2-0.15.2-underlinking.patch13
-rw-r--r--dev-libs/librapi2/librapi2-0.15.2.ebuild9
3 files changed, 25 insertions, 3 deletions
diff --git a/dev-libs/librapi2/ChangeLog b/dev-libs/librapi2/ChangeLog
index 9fbf543d84cc..74b12a430d88 100644
--- a/dev-libs/librapi2/ChangeLog
+++ b/dev-libs/librapi2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/librapi2
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/librapi2/ChangeLog,v 1.2 2011/05/21 05:33:25 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/librapi2/ChangeLog,v 1.3 2011/08/07 11:40:11 ssuominen Exp $
+
+ 07 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> librapi2-0.15.2.ebuild,
+ +files/librapi2-0.15.2-underlinking.patch:
+ Fix underlinking wrt #368917 by Diego Elio Pettenò
21 May 2011; Samuli Suominen <ssuominen@gentoo.org> librapi2-0.15.2.ebuild:
Always enable dbus support wrt #363257 by Diego Elio Pettenò.
diff --git a/dev-libs/librapi2/files/librapi2-0.15.2-underlinking.patch b/dev-libs/librapi2/files/librapi2-0.15.2-underlinking.patch
new file mode 100644
index 000000000000..0a4f356b402a
--- /dev/null
+++ b/dev-libs/librapi2/files/librapi2-0.15.2-underlinking.patch
@@ -0,0 +1,13 @@
+Fix underlinking, http://bugs.gentoo.org/368917
+
+--- tools/Makefile.am
++++ tools/Makefile.am
+@@ -1,7 +1,7 @@
+ AM_CFLAGS = @LIBSYNCE_CFLAGS@
+
+ INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/support
+-LDADD = ../src/librapi.la
++LDADD = ../src/librapi.la @LIBSYNCE_LIBS@
+
+ noinst_PROGRAMS = oidinfo
+
diff --git a/dev-libs/librapi2/librapi2-0.15.2.ebuild b/dev-libs/librapi2/librapi2-0.15.2.ebuild
index 4527b1c263d4..41ab72a8af36 100644
--- a/dev-libs/librapi2/librapi2-0.15.2.ebuild
+++ b/dev-libs/librapi2/librapi2-0.15.2.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/librapi2/librapi2-0.15.2.ebuild,v 1.3 2011/05/21 05:33:25 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/librapi2/librapi2-0.15.2.ebuild,v 1.4 2011/08/07 11:40:11 ssuominen Exp $
EAPI=3
PYTHON_DEPEND="python? 2:2.6"
-inherit python
+inherit autotools eutils python
DESCRIPTION="A library for SynCE"
HOMEPAGE="http://www.synce.org/"
@@ -30,6 +30,11 @@ pkg_setup() {
fi
}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-underlinking.patch
+ AT_M4DIR="m4" eautoreconf
+}
+
src_configure() {
econf \
--disable-dependency-tracking \