From 75f4fd5ae2be58e5ebced49d1c70574b547fd2d7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 22 May 2007 05:15:39 +0000 Subject: [PATCH] For bug #179380, make support for ECONF_SOURCE in the default src_compile() conditional on EAPI != 0. svn path=/main/trunk/; revision=6565 --- bin/ebuild.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 8e88756fc..27dce2e28 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -565,7 +565,9 @@ src_unpack() { } src_compile() { - if [ -x "${ECONF_SOURCE:-.}/configure" ] ; then + if [ -x ./configure ] ; then + econf + elif [ "${EAPI:-0}" != 0 ] && [ -x "${ECONF_SOURCE:-.}/configure" ] ; then econf fi if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then -- 2.26.2