blob: 0706ffa279e70406cabbf8eb55bf1282b7c53942 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- pkgcore-0.3.2/pkgcore/bin/ebuild-env/ebuild-functions.sh 2007-08-16 16:30:43 +0000
+++ pkgcore-0.3.2/pkgcore/bin/ebuild-env/ebuild-functions.sh 2007-11-02 11:44:59 +0000
@@ -234,7 +234,9 @@
src_compile()
{
- if [ -x ./configure ]; then
+ if [ "${EAPI:-0}" == 0 ] ; then
+ [ -x ./configure ] && econf
+ elif [ -x ${ECONF_SOURCE}/configure ]; then
econf || die "econf failed"
fi
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
--- pkgcore-0.3.2/pkgcore/ebuild/ebd.py 2007-11-02 01:56:46 +0000
+++ pkgcore-0.3.2/pkgcore/ebuild/ebd.py 2007-11-08 23:35:41 +0000
@@ -599,7 +599,7 @@
does nothing if the pkg is EAPI=0 (that spec lacks a seperated
configure phase).
"""
- if self.eapi > 0:
+ if self.eapi > 1:
return self._generic_phase("configure", True, True, False)
return True
|