commit:     bc5260db471e4675985f526e8701291aa665d3b0
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  4 18:13:48 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Apr  4 18:13:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=bc5260db

dev-lang/python: fix installation not to rely on installed framework

On Darwin, make sure the Python.framework can be found /in the build/.
Else, when you don't have the framework available yet, python_domodule
will fail.

Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6

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

diff --git a/dev-lang/python/python-2.7.14.ebuild 
b/dev-lang/python/python-2.7.14.ebuild
index 79d6fd758f..3f9a09c325 100644
--- a/dev-lang/python/python-2.7.14.ebuild
+++ b/dev-lang/python/python-2.7.14.ebuild
@@ -584,6 +584,7 @@ EOF
                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}:}.
+               local -x DYLD_FRAMEWORK_PATH="${S}/${CHOST}"
        else
                vars=( PYTHON "${vars[@]}" )
        fi

Reply via email to