summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-12-18 02:38:51 +0000
committerMike Gilbert <floppym@gentoo.org>2011-12-18 02:38:51 +0000
commit47024d11714a5eaaa7147262376c77c42fa1c5bd (patch)
tree9bf029ca98d86ed4160c37c6c0dc80b95e09f236 /sys-libs/talloc
parentRe-keyword ~x86-fbsd (diff)
downloadgentoo-2-47024d11714a5eaaa7147262376c77c42fa1c5bd.tar.gz
gentoo-2-47024d11714a5eaaa7147262376c77c42fa1c5bd.tar.bz2
gentoo-2-47024d11714a5eaaa7147262376c77c42fa1c5bd.zip
Install missing SONAME symlink. Resolves bug 394787.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'sys-libs/talloc')
-rw-r--r--sys-libs/talloc/ChangeLog7
-rw-r--r--sys-libs/talloc/talloc-2.0.1-r2.ebuild69
2 files changed, 75 insertions, 1 deletions
diff --git a/sys-libs/talloc/ChangeLog b/sys-libs/talloc/ChangeLog
index 064065c7a141..f00c9609fc04 100644
--- a/sys-libs/talloc/ChangeLog
+++ b/sys-libs/talloc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/talloc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/ChangeLog,v 1.29 2011/10/18 21:59:36 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/ChangeLog,v 1.30 2011/12/18 02:38:51 floppym Exp $
+
+*talloc-2.0.1-r2 (18 Dec 2011)
+
+ 18 Dec 2011; Mike Gilbert <floppym@gentoo.org> +talloc-2.0.1-r2.ebuild:
+ Install missing SONAME symlink. Resolves bug 394787.
18 Oct 2011; Víctor Ostorga <vostorga@gentoo.org> talloc-2.0.7.ebuild:
Adding block on <sys-libs/talloc-2.0.5 to DEPEND, bug 387509
diff --git a/sys-libs/talloc/talloc-2.0.1-r2.ebuild b/sys-libs/talloc/talloc-2.0.1-r2.ebuild
new file mode 100644
index 000000000000..d5615f7a1d52
--- /dev/null
+++ b/sys-libs/talloc/talloc-2.0.1-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/talloc-2.0.1-r2.ebuild,v 1.1 2011/12/18 02:38:51 floppym Exp $
+
+EAPI="2"
+
+inherit eutils autotools
+
+DESCRIPTION="Samba talloc library"
+HOMEPAGE="http://talloc.samba.org/"
+SRC_URI="http://samba.org/ftp/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+IUSE="compat doc static-libs swig"
+
+RDEPEND=""
+DEPEND="doc? ( app-text/docbook-xml-dtd:4.2
+ dev-libs/libxslt )
+ swig? ( dev-lang/swig )
+ !<net-fs/samba-libs-3.4
+ !<net-fs/samba-3.3"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.0.0-without-doc.patch" \
+ "${FILESDIR}"/${P}-respect-ldflags.patch
+
+ eautoconf -Ilibreplace
+
+ sed -i \
+ -e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \
+ Makefile.in
+}
+
+src_configure() {
+ if ! use swig ; then
+ sed -i \
+ -e '/swig/d' \
+ talloc.mk || die "sed failed"
+ fi
+
+ if ! use static-libs ; then
+ sed -i \
+ -e 's|:: $(TALLOC_STLIB)|::|' \
+ -e '/$(TALLOC_STLIB) /d' \
+ -e '/libtalloc.a/d' \
+ talloc.mk Makefile.in || die "sed failed"
+ fi
+
+ econf \
+ --sysconfdir=/etc/samba \
+ --localstatedir=/var \
+ $(use_enable compat talloc-compat1) \
+ $(use_with doc)
+}
+
+src_compile() {
+ emake shared-build || die "emake shared-build failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ use doc && dohtml *.html
+
+ # installs missing symlink
+ dolib.so sharedbuild/lib/libtalloc.so{,.2}
+}