commit:     e47a2221253a05b34be839a49cdd670632c6cfd5
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 31 17:31:45 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Oct 31 17:35:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e47a2221

dev-lang/python: use absolute path in LD_LIBRARY_PATH

Closes: https://bugs.gentoo.org/608312
Package-Manager: Portage-2.3.12_p5, Repoman-2.3.3_p75

 dev-lang/python/python-2.7.14.ebuild | 2 +-
 dev-lang/python/python-3.4.5.ebuild  | 2 +-
 dev-lang/python/python-3.4.6.ebuild  | 2 +-
 dev-lang/python/python-3.6.3.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-lang/python/python-2.7.14.ebuild 
b/dev-lang/python/python-2.7.14.ebuild
index 5e5cbbf1917..ea9388be52d 100644
--- a/dev-lang/python/python-2.7.14.ebuild
+++ b/dev-lang/python/python-2.7.14.ebuild
@@ -312,7 +312,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 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+               local -x 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
        else
                vars=( PYTHON "${vars[@]}" )
        fi

diff --git a/dev-lang/python/python-3.4.5.ebuild 
b/dev-lang/python/python-3.4.5.ebuild
index 5586215492b..20fadf8ea6f 100644
--- a/dev-lang/python/python-3.4.5.ebuild
+++ b/dev-lang/python/python-3.4.5.ebuild
@@ -284,7 +284,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 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+               local -x 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
        else
                vars=( PYTHON "${vars[@]}" )
        fi

diff --git a/dev-lang/python/python-3.4.6.ebuild 
b/dev-lang/python/python-3.4.6.ebuild
index f5d3c43753b..80dffce2af5 100644
--- a/dev-lang/python/python-3.4.6.ebuild
+++ b/dev-lang/python/python-3.4.6.ebuild
@@ -284,7 +284,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 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+               local -x 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
        else
                vars=( PYTHON "${vars[@]}" )
        fi

diff --git a/dev-lang/python/python-3.6.3.ebuild 
b/dev-lang/python/python-3.6.3.ebuild
index fa67a439bfa..4cf258819ee 100644
--- a/dev-lang/python/python-3.6.3.ebuild
+++ b/dev-lang/python/python-3.6.3.ebuild
@@ -270,7 +270,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 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+               local -x 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
        else
                vars=( PYTHON "${vars[@]}" )
        fi

Reply via email to