commit: 42d1f1dda83fc0301581946b937b3bfa4cc920ee Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Sun Nov 15 23:22:58 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Nov 15 23:22:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d1f1dd
dev-libs/hyperleveldb: disable static libs Closes: https://bugs.gentoo.org/723176 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Signed-off-by: David Seifert <soap <AT> gentoo.org> dev-libs/hyperleveldb/files/snappy.patch | 4 ++-- dev-libs/hyperleveldb/hyperleveldb-1.2.2-r1.ebuild | 24 ++++++++++++++-------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/dev-libs/hyperleveldb/files/snappy.patch b/dev-libs/hyperleveldb/files/snappy.patch index f926e3f6a38..db3d2e3885a 100644 --- a/dev-libs/hyperleveldb/files/snappy.patch +++ b/dev-libs/hyperleveldb/files/snappy.patch @@ -1,5 +1,5 @@ ---- Makefile.am 2014-07-29 14:44:37.851568232 +0800 -+++ Makefile.am.new 2014-07-29 14:44:54.687855718 +0800 +--- a/Makefile.am ++++ b/Makefile.am @@ -196,7 +196,7 @@ TESTS = $(check_PROGRAMS) diff --git a/dev-libs/hyperleveldb/hyperleveldb-1.2.2-r1.ebuild b/dev-libs/hyperleveldb/hyperleveldb-1.2.2-r1.ebuild index b9f1cd0e7a4..1a42b9d33f7 100644 --- a/dev-libs/hyperleveldb/hyperleveldb-1.2.2-r1.ebuild +++ b/dev-libs/hyperleveldb/hyperleveldb-1.2.2-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 WANT_AUTOMAKE="1.11" -inherit eutils autotools +inherit autotools DESCRIPTION="Hyperdex fork/extension of leveldb" HOMEPAGE="http://hyperdex.org/" @@ -14,14 +14,22 @@ SRC_URI="http://hyperdex.org/src/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND=" - dev-libs/leveldb:=[snappy] - " +DEPEND="dev-libs/leveldb:=[snappy]" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}"/snappy.patch ) + src_prepare() { - epatch "${FILESDIR}/snappy.patch" + default eautoreconf } + +src_configure() { + econf --disable-static +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}
