diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-05-22 05:15:39 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-05-22 05:15:39 +0000 |
commit | 75f4fd5ae2be58e5ebced49d1c70574b547fd2d7 (patch) | |
tree | c71d8d55cab55ace98e52a68712811630e810fdf | |
parent | 353729c460a8e8bf3f4c087756a8ac2a59ad36c8 (diff) | |
download | portage-75f4fd5ae2be58e5ebced49d1c70574b547fd2d7.tar.gz portage-75f4fd5ae2be58e5ebced49d1c70574b547fd2d7.tar.bz2 portage-75f4fd5ae2be58e5ebced49d1c70574b547fd2d7.zip |
For bug #179380, make support for ECONF_SOURCE in the default src_compile() conditional on EAPI != 0.
svn path=/main/trunk/; revision=6565
-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 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 |