dev-libs/memkind: respect AR

Closes: https://bugs.gentoo.org/799452
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-09-05 07:42:21 +02:00
parent fc0f0e97a1
commit 1d13a0a388
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -518,7 +518,7 @@
endef
static_lib: libmemkind.la
- bash -c "ar -M < <(echo -e '$(ar_prog)')"
+ bash -c "${AR} -M < <(echo -e '$(ar_prog)')"
cp libmemkind.a .libs/
rm libmemkind.a

View File

@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit autotools linux-info python-any-r1
inherit autotools linux-info python-any-r1 toolchain-funcs
DESCRIPTION="user extensible heap manager built on top of jemalloc"
HOMEPAGE="https://memkind.github.io/memkind"
@@ -25,6 +25,7 @@ DEPEND="
${PYTHON_DEPS}
"
PATCHES=( "${FILESDIR}/${PN}-respect-ar.patch" )
RESTRICT="test" # ERROR: ./test/test.sh requires a NUMA enabled system with more than one node.
#RESTRICT="!test? ( test )"
@@ -35,6 +36,7 @@ src_prepare() {
}
src_configure() {
tc-export AR
local myconf=(
--disable-silent-rules
--enable-shared