1 |
commit: 8868c2c69c29e6e05b16301bb1698dac673679ff |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 11 21:53:38 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 11 22:02:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8868c2c6 |
7 |
|
8 |
dev-util/google-perftools: keyword 2.9.1 for ~riscv |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
dev-util/google-perftools/google-perftools-2.9.1.ebuild | 9 +++++++-- |
13 |
1 file changed, 7 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-util/google-perftools/google-perftools-2.9.1.ebuild b/dev-util/google-perftools/google-perftools-2.9.1.ebuild |
16 |
index 413257a7ebe..896b51dfd9c 100644 |
17 |
--- a/dev-util/google-perftools/google-perftools-2.9.1.ebuild |
18 |
+++ b/dev-util/google-perftools/google-perftools-2.9.1.ebuild |
19 |
@@ -17,13 +17,18 @@ SLOT="0/4" |
20 |
# linux amd64/arm/arm64/ppc/ppc64/riscv/x86 |
21 |
# OSX ppc/amd64 |
22 |
# AIX ppc/ppc64 |
23 |
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
24 |
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
25 |
|
26 |
IUSE="largepages largepages64k +debug minimal optimisememory test static-libs" |
27 |
|
28 |
RESTRICT="!test? ( test )" |
29 |
|
30 |
-DEPEND="!ppc64? ( sys-libs/libunwind )" |
31 |
+# TODO: remove the riscv special case once either libunwind has begun supporting this arch |
32 |
+# or this package allows using llvm-libunwind for other arches |
33 |
+DEPEND="!ppc64? ( |
34 |
+ riscv? ( sys-libs/llvm-libunwind ) |
35 |
+ !riscv? ( sys-libs/libunwind ) |
36 |
+)" |
37 |
RDEPEND="${DEPEND}" |
38 |
|
39 |
S="${WORKDIR}/${MY_P}" |