commit:     538297eb9f73edee3a42d564deee08904ebd50f7
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 30 16:53:17 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Oct 30 16:53:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=538297eb

dev-lang/python: fix install of 3.6.3 on Darwin

 dev-lang/python/python-3.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/python/python-3.6.3.ebuild 
b/dev-lang/python/python-3.6.3.ebuild
index 6cf6bb0a9a..9a41e071f6 100644
--- a/dev-lang/python/python-3.6.3.ebuild
+++ b/dev-lang/python/python-3.6.3.ebuild
@@ -333,7 +333,7 @@ src_install() {
 
        # if not using a cross-compiler, use the fresh binary
        if ! tc-is-cross-compiler; then
-               local -x PYTHON=./python
+               local -x PYTHON=./python$(sed -n '/BUILDEXE=/s/^.*=\s\+//p' 
Makefile)
                local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
                local -x 
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH+${DYLD_LIBRARY_PATH}:}.
        else

Reply via email to