summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-22 05:15:39 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-22 05:15:39 +0000
commit75f4fd5ae2be58e5ebced49d1c70574b547fd2d7 (patch)
treec71d8d55cab55ace98e52a68712811630e810fdf
parent353729c460a8e8bf3f4c087756a8ac2a59ad36c8 (diff)
downloadportage-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-xbin/ebuild.sh4
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