First: This is probably also a problem with the mozilla-firefox ebuilds. icecat 3.5.3 doesn't work with xulrunner 1.9.1.4; the dependency on >=xulrunner-1.9.1.3 should be ~xulrunner-1.9.1.3 or =xulrunner-1.9.1.3*. Second: find . -type f -exec sed -i 's/\(.*=.*\)Firefox/\1IceCat/g' {} \; I noticed it was getting run on *.jar (from ps output). That's not useful. There may be other files that also don't need to be scanned, and if there are, it might be useful to only scan those files known to contain =.*Firefox. Also, sed is getting spawned for every file. Please change \; to + to only spawn sed once per langpack. src_prepare is slow with LINGUAS=*, and any improvement will be noticeable :)
Launguage packs will change in next few weeks so we do not need to run sed to change from firefox to icecat :) all other issues already fixed thank you.