commit: 3dc5882eaeab59e0aa2287a63bbb1a7246e428ee
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 13:30:12 2016 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 13:30:12 2016 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3dc5882e
dev-lang/python: port El Capitan (10.11) fix from 3.5.1 to 3.4.3
Package-Manager: portage-2.2.20-prefix
dev-lang/python/python-3.4.3-r5.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-lang/python/python-3.4.3-r5.ebuild
b/dev-lang/python/python-3.4.3-r5.ebuild
index fa38ed3..1ddb5f8 100644
--- a/dev-lang/python/python-3.4.3-r5.ebuild
+++ b/dev-lang/python/python-3.4.3-r5.ebuild
@@ -82,6 +82,12 @@ src_prepare() {
EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \
epatch
"${WORKDIR}"/python-prefix-${PV}-gentoo-patches-${PREFIX_PATCHREV}
+ # https://forums.developer.apple.com/thread/9233, bug #572726
+ sed -i -e 's:$(RUNSHARED) ./regen:export RUNSHARED=$(RUNSHARED);
./regen:' \
+ Makefile.pre.in || die
+ sed -i -e '/python$EXE/s/^/env ${RUNSHARED} /' \
+ Lib/plat-darwin/regen || die
+
# we provide a fully working readline also on Darwin, so don't force
# usage of less functional libedit
sed -i -e 's/__APPLE__/__NO_MUCKING_AROUND__/g' Modules/readline.c ||
die