The portage patch applied to libtool does bad things. It explicitly calls 'grep -e', which it should be using $EGREP instead. This is bad for instance if you run libtoolize and autoconf/automake on a package for distribution, and an end user runs it on say Solaris, where /usr/bin/grep does NOT support the -e flag (though 'egrep' does)! Just sed -i -e 's/grep -e/$EGREP -e/g' libtool-1.4.2-portage.patch (note those must be single quotes and not double quotes or the $EGREP will be evaluated instead of taken literally). Also, it seems you run into the same snag on 1.5.2/libtool-1.5.2-libtool_m4-shared_ext.patch -Brad
1.5.2/libtool-1.5.2-libtool_m4-shared_ext.patch is junked now fixed files/1.4.3/libtool-1.4.2-portage.patch, thanks for the bug