From: Zac Medico Date: Wed, 3 Oct 2007 16:19:14 +0000 (-0000) Subject: Bug #179380 - Make the default src_compile() support ECONF_SOURCE X-Git-Tag: v2.1.3.16~90 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1fbf47530609f917ee3b5973cae1c809bb830cf4;p=portage.git Bug #179380 - Make the default src_compile() support ECONF_SOURCE if EAPI > 0. (trunk r6567) svn path=/main/branches/2.1.2/; revision=7906 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 233149f54..79bfaf062 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -685,7 +685,9 @@ src_unpack() { } src_compile() { - if [ -x ./configure ]; then + if [ "${EAPI:-0}" == 0 ] ; then + [ -x ./configure ] && econf + elif [ -x "${ECONF_SOURCE:-.}/configure" ] ; then econf fi if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then