dev-lang/python: use absolute path in LD_LIBRARY_PATH
authorMike Gilbert <floppym@gentoo.org>
Tue, 31 Oct 2017 17:31:45 +0000 (13:31 -0400)
committerMike Gilbert <floppym@gentoo.org>
Tue, 31 Oct 2017 17:35:06 +0000 (13:35 -0400)
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
dev-lang/python/python-3.4.5.ebuild
dev-lang/python/python-3.4.6.ebuild
dev-lang/python/python-3.6.3.ebuild

index 5e5cbbf1917454738b1f71cc8335a3d5582846bb..ea9388be52df1830bb26216adca253cd7dcf6f54 100644 (file)
@@ -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
index 5586215492b1c798724d3d79b49cc080b03a4e8d..20fadf8ea6fbc062fd4424eadf8b671f6458d40e 100644 (file)
@@ -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
index f5d3c43753b307fcd8427a710e36345abc9ad261..80dffce2af5429a7da6074cf701e1d019f110fcc 100644 (file)
@@ -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
index fa67a439bfa235ea01b49cf2affd1f5897bd97c1..4cf258819ee03f0704679da27151c2580ad9a75e 100644 (file)
@@ -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