summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-15 18:18:58 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-15 18:24:03 +0100
commit7bc3d2f5403cedd036d85ef2740b0fa3931271d6 (patch)
tree2117e035a2aec98368eb8b4f617a579461313e76 /dev-lang/python/python-2.7.17-r1.ebuild
parentx11-misc/gigolo: Bump to 0.5.1 (diff)
downloadgentoo-7bc3d2f5403cedd036d85ef2740b0fa3931271d6.tar.gz
gentoo-7bc3d2f5403cedd036d85ef2740b0fa3931271d6.tar.bz2
gentoo-7bc3d2f5403cedd036d85ef2740b0fa3931271d6.zip
dev-lang/python: Force-fail stropts.h check for future glibc upgrade
Bug: https://bugs.gentoo.org/699668 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-2.7.17-r1.ebuild')
-rw-r--r--dev-lang/python/python-2.7.17-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-lang/python/python-2.7.17-r1.ebuild b/dev-lang/python/python-2.7.17-r1.ebuild
index 7f6c843e9f5e..544e46b4ffcc 100644
--- a/dev-lang/python/python-2.7.17-r1.ebuild
+++ b/dev-lang/python/python-2.7.17-r1.ebuild
@@ -175,6 +175,10 @@ src_configure() {
# https://bugs.gentoo.org/596798
# (upstream dropped this flag in 3.2a4 anyway)
ac_cv_opt_olimit_ok=no
+ # glibc-2.30 removes it; since we can't cleanly force-rebuild
+ # Python on glibc upgrade, remove it proactively to give
+ # a chance for users rebuilding python before glibc
+ ac_cv_header_stropts_h=no
--with-fpectl
--enable-shared