commit:     e483e5f315c0377bf44f34fba4031ce3416e7d65
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat May 12 18:41:54 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat May 12 18:44:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e483e5f3

sys-devel/binutils-hppa64: don't purge environment for binutils-config

Follow toolchain.eclass cleanup where gcc-config was broken due
to missing PATH= assignment:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6526608cbdb8202bc69aaaedd19f773ef651862c

This change removes environment cleansing for binutils-config

Reported-by: hiyuh
Bug: https://bugs.gentoo.org/588642
Package-Manager: Portage-2.3.36, Repoman-2.3.9

 sys-devel/binutils-hppa64/binutils-hppa64-2.30-r2.ebuild | 2 +-
 sys-devel/binutils-hppa64/binutils-hppa64-2.30.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.30-r2.ebuild 
b/sys-devel/binutils-hppa64/binutils-hppa64-2.30-r2.ebuild
index ee0aeca4fc2..9e8ee35a6d0 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.30-r2.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.30-r2.ebuild
@@ -383,7 +383,7 @@ pkg_postrm() {
                choice=${choice//$'\n'/ }
                choice=${choice/* }
                if [[ -z ${choice} ]] ; then
-                       env -i ROOT="${ROOT}" binutils-config -u ${CTARGET}
+                       binutils-config -u ${CTARGET}
                else
                        binutils-config ${choice}
                fi

diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.30.ebuild 
b/sys-devel/binutils-hppa64/binutils-hppa64-2.30.ebuild
index 2d7dd1ef393..2bb4529fe8f 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.30.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.30.ebuild
@@ -383,7 +383,7 @@ pkg_postrm() {
                choice=${choice//$'\n'/ }
                choice=${choice/* }
                if [[ -z ${choice} ]] ; then
-                       env -i ROOT="${ROOT}" binutils-config -u ${CTARGET}
+                       binutils-config -u ${CTARGET}
                else
                        binutils-config ${choice}
                fi

Reply via email to