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

index 3666a0957495578dec4b39bc5c16621c896379a7..3842bc3a240c2441802f51626d53872be3f51be3 100644 (file)
@@ -378,7 +378,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 4fa2ab7ce33a046896131984fa91892aa0d47d3f..1b44a0d4a1ea99c221de95edb4e27dbaa3f3a30d 100644 (file)
@@ -378,7 +378,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 a372f88e24b2a63b8933f00d531a68d452a3fd69..8fc0905153ac5a823d9b9d7a045c9965811a4f83 100644 (file)
@@ -375,7 +375,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 bab46c55f2eaf81156b35470411de70d1a413475..d7ba7c31aa7521135a1cd5328daeab47ff38d245 100644 (file)
@@ -375,7 +375,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