diff options
author | Fabian Groffen <grobian@gentoo.org> | 2020-06-23 20:33:26 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2020-06-23 20:33:26 +0200 |
commit | 050a9859dd4629a46385a24a85ecc2d195bcaf86 (patch) | |
tree | 4b857d24a47d9c6331b87071ecc1fb681dae7c2b | |
parent | eclass/toolchain: fix SDK Framework path on Darwin (diff) | |
download | prefix-050a9859dd4629a46385a24a85ecc2d195bcaf86.tar.gz prefix-050a9859dd4629a46385a24a85ecc2d195bcaf86.tar.bz2 prefix-050a9859dd4629a46385a24a85ecc2d195bcaf86.zip |
dev-lang/python: fix zlib sdk issue on darwin
Package-Manager: Portage-2.3.100-prefix, Repoman-2.3.23
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r-- | dev-lang/python/python-3.7.7-r2.ebuild | 3 | ||||
-rw-r--r-- | dev-lang/python/python-3.8.3.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-lang/python/python-3.7.7-r2.ebuild b/dev-lang/python/python-3.7.7-r2.ebuild index 812a8a668d..fdd913966a 100644 --- a/dev-lang/python/python-3.7.7-r2.ebuild +++ b/dev-lang/python/python-3.7.7-r2.ebuild @@ -98,6 +98,9 @@ src_prepare() { # usage of less functional libedit sed -i -e 's/__APPLE__/__NO_MUCKING_AROUND__/g' Modules/readline.c || die + # missed patch + sed -i -e '/is_macosx_sdk_path(zlib_h):/s/darwin/no-darwin/' setup.py || die + # We may have wrapped /usr/ccs/bin/nm on AIX for long TMPDIR. sed -i -e "/^NM=.*nm$/s,^.*$,NM=$(tc-getNM)," Modules/makexp_aix || die diff --git a/dev-lang/python/python-3.8.3.ebuild b/dev-lang/python/python-3.8.3.ebuild index e17a0b7faa..99b214f27b 100644 --- a/dev-lang/python/python-3.8.3.ebuild +++ b/dev-lang/python/python-3.8.3.ebuild @@ -78,6 +78,9 @@ src_prepare() { # usage of less functional libedit sed -i -e 's/__APPLE__/__NO_MUCKING_AROUND__/g' Modules/readline.c || die + # missed patch + sed -i -e '/is_macosx_sdk_path(zlib_h):/s/MACOS/False/' setup.py || die + # We may have wrapped /usr/ccs/bin/nm on AIX for long TMPDIR. sed -i -e "/^NM=.*nm$/s,^.*$,NM=$(tc-getNM)," Modules/makexp_aix || die |