summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-14 13:15:44 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-14 13:15:44 +0000
commit1947be0908f43bb644df6439e94e8aa0afbf19ee (patch)
tree3165e5345da67f3b8833b0c2c2b3a416287583d4
parentf9c1858dc7af5833ad4d24c5e25857b3fd39d261 (diff)
downloadportage-1947be0908f43bb644df6439e94e8aa0afbf19ee.tar.gz
portage-1947be0908f43bb644df6439e94e8aa0afbf19ee.tar.bz2
portage-1947be0908f43bb644df6439e94e8aa0afbf19ee.zip
Fix the 'inherit.autotools' check to account for apache-2_src_unpack()
calling eautoreconf. svn path=/main/trunk/; revision=10653
-rw-r--r--pym/repoman/checks.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index e340a57f3..0f339adbc 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -230,6 +230,11 @@ def run_checks(contents, pkg):
checks.append(EbuildHeader(pkg.mtime))
iuse_def = None
inherit_autotools = "autotools" in pkg.inherited
+ if inherit_autotools:
+ if "apache-2" in pkg.inherited:
+ # eautoreconf is called by apache-2_src_unpack(),
+ # so the ebuild doesn't need to call it.
+ inherit_autotools = False
autotools_func_call = None
for num, line in enumerate(contents):
comment = _comment_re.match(line)