Fix the 'inherit.autotools' check to account for apache-2_src_unpack()
authorZac Medico <zmedico@gentoo.org>
Mon, 16 Jun 2008 10:54:51 +0000 (10:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 16 Jun 2008 10:54:51 +0000 (10:54 -0000)
calling eautoreconf. (trunk r10653)

svn path=/main/branches/2.1.2/; revision=10664

bin/repoman

index 60e10dc4c1c1a293d5f353c4ea49cfb875c65b7a..54504faac38085b8aa0aabccbdd56e8587dc57c6 100755 (executable)
@@ -1133,6 +1133,11 @@ _autotools_func_re = re.compile(r'(^|\s)(' + \
 def run_checks(contents, pkg):
        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)