From 1947be0908f43bb644df6439e94e8aa0afbf19ee Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 14 Jun 2008 13:15:44 +0000 Subject: [PATCH] Fix the 'inherit.autotools' check to account for apache-2_src_unpack() calling eautoreconf. svn path=/main/trunk/; revision=10653 --- pym/repoman/checks.py | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.26.2