mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-libs/memkind: respect AR
Closes: https://bugs.gentoo.org/799452 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
11
dev-libs/memkind/files/memkind-respect-ar.patch
Normal file
11
dev-libs/memkind/files/memkind-respect-ar.patch
Normal 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user