diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-11-16 00:22:58 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-16 00:22:58 +0100 |
commit | 42d1f1dda83fc0301581946b937b3bfa4cc920ee (patch) | |
tree | f8cdea14947fa2c2158f768ae2bd3668bf3ec465 /dev-libs/hyperleveldb | |
parent | dev-libs/gumbo: disable static libs (diff) | |
download | gentoo-42d1f1dda83fc0301581946b937b3bfa4cc920ee.tar.gz gentoo-42d1f1dda83fc0301581946b937b3bfa4cc920ee.tar.bz2 gentoo-42d1f1dda83fc0301581946b937b3bfa4cc920ee.zip |
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@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/hyperleveldb')
-rw-r--r-- | dev-libs/hyperleveldb/files/snappy.patch | 4 | ||||
-rw-r--r-- | 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 f926e3f6a38c..db3d2e3885a4 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 b9f1cd0e7a48..1a42b9d33f78 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 +} |