diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ebuild.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |