From: Fabian Groffen Date: Thu, 19 Jul 2018 15:31:24 +0000 (+0200) Subject: dev-python/lxml: fix compilation on Darwin X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0e03c26d159c50bc5a791472f9edefd153891541;p=gentoo.git dev-python/lxml: fix compilation on Darwin Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- diff --git a/dev-python/lxml/lxml-4.2.2.ebuild b/dev-python/lxml/lxml-4.2.2.ebuild index 16033ef8f85c..7860a32aec44 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 }