summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)