From 1fbf47530609f917ee3b5973cae1c809bb830cf4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 3 Oct 2007 16:19:14 +0000 Subject: [PATCH] Bug #179380 - Make the default src_compile() support ECONF_SOURCE if EAPI > 0. (trunk r6567) svn path=/main/branches/2.1.2/; revision=7906 --- bin/ebuild.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.26.2