summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-19 18:20:29 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-19 18:20:29 +0000
commitf34e2af1f823a4a3eb109644e1b208a0f1e3aebd (patch)
tree165e42ed7648e2113fba0a8a4623029ab802c75c
parentba00a14d159d8e266b2cf29d4138627c5e0d0521 (diff)
downloadportage-f34e2af1f823a4a3eb109644e1b208a0f1e3aebd.tar.gz
portage-f34e2af1f823a4a3eb109644e1b208a0f1e3aebd.tar.bz2
portage-f34e2af1f823a4a3eb109644e1b208a0f1e3aebd.zip
For bug #178378, make the default src_compile() check for configure in ${ECONF_SOURCE:-.} (instead of just .) before it calls econf. Thanks to James C. Georgas <jgeorgas@rogers.com>.
svn path=/main/trunk/; revision=6558
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index cba4997d5..8e88756fc 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -565,7 +565,7 @@ src_unpack() {
}
src_compile() {
- if [ -x ./configure ]; then
+ if [ -x "${ECONF_SOURCE:-.}/configure" ] ; then
econf
fi
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then