From: Zac Medico Date: Sat, 19 May 2007 18:20:29 +0000 (-0000) Subject: For bug #178378, make the default src_compile() check for configure in ${ECONF_SOURCE... X-Git-Tag: v2.2_pre1~1407 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f34e2af1f823a4a3eb109644e1b208a0f1e3aebd;p=portage.git For bug #178378, make the default src_compile() check for configure in ${ECONF_SOURCE:-.} (instead of just .) before it calls econf. Thanks to James C. Georgas . svn path=/main/trunk/; revision=6558 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index cba4997d5..8e88756fc 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -565,7 +565,7 @@ src_unpack() { } src_compile() { - if [ -x ./configure ]; then + if [ -x "${ECONF_SOURCE:-.}/configure" ] ; then econf fi if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then