commit: 0e03c26d159c50bc5a791472f9edefd153891541
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 19 15:31:24 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jul 19 15:31:45 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e03c26d
dev-python/lxml: fix compilation on Darwin
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-python/lxml/lxml-4.2.2.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-python/lxml/lxml-4.2.2.ebuild
b/dev-python/lxml/lxml-4.2.2.ebuild
index 16033ef8f85..7860a32aec4 100644
--- a/dev-python/lxml/lxml-4.2.2.ebuild
+++ b/dev-python/lxml/lxml-4.2.2.ebuild
@@ -40,6 +40,10 @@ python_prepare_all() {
# https://bugs.launchpad.net/lxml/+bug/1782078
sed -i -e '/assertEqual(4, len(log)/d' src/lxml/tests/test_threading.py
|| die
+ # don't use some random SDK on Darwin
+ sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \
+ setupinfo.py || die
+
distutils-r1_python_prepare_all
}