sys-devel/binutils-hppa64: don't purge environment for binutils-config
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 12 May 2018 18:41:54 +0000 (19:41 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 12 May 2018 18:44:22 +0000 (19:44 +0100)
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
sys-devel/binutils-hppa64/binutils-hppa64-2.30.ebuild

index ee0aeca4fc26eee1f13454b66e9352fc3590da4f..9e8ee35a6d0b4ba725f7012d9d6419e57cf42150 100644 (file)
@@ -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
index 2d7dd1ef3938ef52f2341a45773ff681be6f3c30..2bb4529fe8f27a0b7e94c6bb1b2c50553589482a 100644 (file)
@@ -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