projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c40a5
)
Bug #179380 - Make the default src_compile() support ECONF_SOURCE
author
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Oct 2007 16:19:14 +0000
(16:19 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Oct 2007 16:19:14 +0000
(16:19 -0000)
if EAPI > 0. (trunk r6567)
svn path=/main/branches/2.1.2/; revision=7906
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 233149f5411aa006e3030edfb4d134e2a4d344a1..79bfaf062bb6d422732c9277692578cd7025431c 100755
(executable)
--- 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