The PREFIX variable is used in prefix-aware portage to specify the prefix portage installs to. toolchain.eclass overrides this variable which results in some problems like portage not able to find `rm`, `tar`, etc. To solve this problem I suggest doing something like: :%s/\<PREFIX\>/TC_PREFIX/ in Vim to replace the PREFIX variable with another name. I changed the name in my local copy and that seemed to work quite well. Please consider changing this variable in the eclass. Thanks.
use a less common named internal variable
Seems like that's already being done... oh well :P
This should have been assigned to someone in -alt if not me directly.