1 |
commit: 82b7e9e79d73b141ba3759f4201b58c1351777e0 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 26 13:04:59 2020 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 26 13:04:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=82b7e9e7 |
7 |
|
8 |
dev-lang/python-3.8.6-r1: fix flock on sparc-solaris |
9 |
|
10 |
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2 |
11 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
12 |
|
13 |
dev-lang/python/python-3.8.6-r1.ebuild | 4 ++++ |
14 |
1 file changed, 4 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/python/python-3.8.6-r1.ebuild b/dev-lang/python/python-3.8.6-r1.ebuild |
17 |
index 1abba1ee29..c4b5d7ea26 100644 |
18 |
--- a/dev-lang/python/python-3.8.6-r1.ebuild |
19 |
+++ b/dev-lang/python/python-3.8.6-r1.ebuild |
20 |
@@ -178,6 +178,10 @@ src_configure() { |
21 |
--config-cache |
22 |
fi |
23 |
|
24 |
+ # flock on 32-bits sparc Solaris is broken |
25 |
+ [[ ${CHOST} == sparc-*-solaris* ]] && \ |
26 |
+ export ac_cv_flock_decl=no |
27 |
+ |
28 |
local myeconfargs=( |
29 |
# glibc-2.30 removes it; since we can't cleanly force-rebuild |
30 |
# Python on glibc upgrade, remove it proactively to give |