* [gentoo-commits] repo/gentoo:master commit in: net-libs/libbloom/files/, net-libs/libbloom/
@ 2020-06-01 7:24 99% Sergei Trofimovich
0 siblings, 0 replies; 1+ results
From: Sergei Trofimovich @ 2020-06-01 7:24 UTC (permalink / raw
To: gentoo-commits
commit: f7a2c4a647ebed76a49f3c68942763d767999b55
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 1 07:08:35 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jun 1 07:08:35 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a2c4a6
net-libs/libbloom: respect user's AR
Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/721238
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-libs/libbloom/files/libbloom-1.5-AR.patch | 11 ++++++++++
net-libs/libbloom/libbloom-1.5-r2.ebuild | 30 +++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/net-libs/libbloom/files/libbloom-1.5-AR.patch b/net-libs/libbloom/files/libbloom-1.5-AR.patch
new file mode 100644
index 00000000000..5a1b14d76b0
--- /dev/null
+++ b/net-libs/libbloom/files/libbloom-1.5-AR.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -97,7 +97,7 @@ $(BUILD)/$(SO_VERSIONED): $(BUILD)/murmurhash2.o $(BUILD)/bloom.o
+ rm -f libbloom.$(SO) && ln -s $(BLOOM_SONAME) libbloom.$(SO))
+
+ $(BUILD)/libbloom.a: $(BUILD)/murmurhash2.o $(BUILD)/bloom.o
+- (cd $(BUILD) && ar rcs libbloom.a bloom.o murmurhash2.o)
++ (cd $(BUILD) && $(AR) rcs libbloom.a bloom.o murmurhash2.o)
+
+ $(BUILD)/test-libbloom: $(TESTDIR)/test.c $(BUILD)/$(SO_VERSIONED)
+ $(COM) -I$(TOP) -c $(TESTDIR)/test.c -o $(BUILD)/test.o
diff --git a/net-libs/libbloom/libbloom-1.5-r2.ebuild b/net-libs/libbloom/libbloom-1.5-r2.ebuild
new file mode 100644
index 00000000000..9be6bd8a03a
--- /dev/null
+++ b/net-libs/libbloom/libbloom-1.5-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A simple and small bloom filter implementation in plain C."
+HOMEPAGE="https://github.com/jvirkki/libbloom"
+SRC_URI="https://github.com/jvirkki/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+PATCHES=("${FILESDIR}"/${PN}-1.5-AR.patch)
+
+src_compile() {
+ tc-export AR CC
+ emake BITS=default OPT=
+}
+
+src_install() {
+ doheader bloom.h
+ dolib.so build/${PN}.so*
+}
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-06-01 7:24 99% [gentoo-commits] repo/gentoo:master commit in: net-libs/libbloom/files/, net-libs/libbloom/ Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox