summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-03 16:19:14 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-03 16:19:14 +0000
commit1fbf47530609f917ee3b5973cae1c809bb830cf4 (patch)
tree92acbf90b3a3538177d05aedf6d3f9b4b7e69e59 /bin
parent32c40a53101e9d6a5065b5c27868455d73d6f2d0 (diff)
downloadportage-1fbf47530609f917ee3b5973cae1c809bb830cf4.tar.gz
portage-1fbf47530609f917ee3b5973cae1c809bb830cf4.tar.bz2
portage-1fbf47530609f917ee3b5973cae1c809bb830cf4.zip
Bug #179380 - Make the default src_compile() support ECONF_SOURCE
if EAPI > 0. (trunk r6567) svn path=/main/branches/2.1.2/; revision=7906
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh4
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