For bug #178378, make the default src_compile() check for configure in ${ECONF_SOURCE...
authorZac Medico <zmedico@gentoo.org>
Sat, 19 May 2007 18:20:29 +0000 (18:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 19 May 2007 18:20:29 +0000 (18:20 -0000)
svn path=/main/trunk/; revision=6558

bin/ebuild.sh

index cba4997d58abbc2aad79e5908aa8136777409b72..8e88756fcc7a8c9532148ee58a7ad050a36e7495 100755 (executable)
@@ -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