1 |
commit: fdb70d5b0aa516f8bbbbd256e2c26ed313593745 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 20:35:16 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 04:50:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb70d5b |
7 |
|
8 |
dev-python/berkeleydb: keyword 18.1.5 for ~ia64 (append needed flag too) |
9 |
|
10 |
Big thanks to matoro for reporting this package working with -O1 |
11 |
compilation. This was tested on guppy.ia64.d.g.o and indeed it |
12 |
passes tests now. |
13 |
|
14 |
(sam: matoro has identified -foptimize-sibling-calls is the issue which |
15 |
is implied by -O2). |
16 |
|
17 |
Bug: https://bugs.gentoo.org/814179 |
18 |
Thanks-to: matoro <matoro <AT> airmail.cc> |
19 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
20 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
21 |
|
22 |
dev-python/berkeleydb/berkeleydb-18.1.5.ebuild | 9 +++++++-- |
23 |
1 file changed, 7 insertions(+), 2 deletions(-) |
24 |
|
25 |
diff --git a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild |
26 |
index 9c8e6b6acd04..e9c4a1c6fce3 100644 |
27 |
--- a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild |
28 |
+++ b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild |
29 |
@@ -6,7 +6,7 @@ EAPI=7 |
30 |
PYTHON_COMPAT=( python3_{8..10} ) |
31 |
PYTHON_REQ_USE="threads(+)" |
32 |
DISTUTILS_IN_SOURCE_BUILD=1 |
33 |
-inherit db-use distutils-r1 |
34 |
+inherit db-use flag-o-matic distutils-r1 |
35 |
|
36 |
# Tests aren't included in PyPi tarballs, so just manually clone from upstream |
37 |
# at https://hg.jcea.es/pybsddb/ and prepare out tarball |
38 |
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x |
39 |
|
40 |
LICENSE="BSD" |
41 |
SLOT="0" |
42 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86" |
43 |
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" |
44 |
|
45 |
RDEPEND=" |
46 |
|| ( |
47 |
@@ -55,6 +55,11 @@ python_configure_all() { |
48 |
export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})" |
49 |
export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)" |
50 |
export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1 |
51 |
+ |
52 |
+ if use ia64; then |
53 |
+ # bug #814179 |
54 |
+ append-flags -fno-optimize-sibling-calls |
55 |
+ fi |
56 |
} |
57 |
|
58 |
python_test() { |