--- /usr/lib/portage/bin/ebuild.sh 2007-03-09 18:25:04.000000000 -0500 +++ ebuild.sh 2007-05-13 16:05:12.000000000 -0400 @@ -638,7 +638,7 @@ } src_compile() { - if [ -x ./configure ]; then + if [ -x ${ECONF_SOURCE:-.}/configure ]; then econf fi if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then