summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-21 10:53:58 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-21 10:53:58 +0000
commit1155a7735a273c13456876e82ac15f8ad98028a0 (patch)
tree6e4eee3a81e6a8a4c1b7ff4269d70b000bb31a4e /pym
parent8e309e9e33286225b3c05afba4e83d91286801a8 (diff)
downloadportage-1155a7735a273c13456876e82ac15f8ad98028a0.tar.gz
portage-1155a7735a273c13456876e82ac15f8ad98028a0.tar.bz2
portage-1155a7735a273c13456876e82ac15f8ad98028a0.zip
Exclude calls to autoheader and makeinfo from the automake "maintainer mode"
check (filter some false positives). Thanks to Flameeyes. svn path=/main/trunk/; revision=10752
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index b3c37d60d..3741685d8 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -4197,9 +4197,12 @@ def spawnebuild(mydo,actionmap,mysettings,debug,alwaysdep=0,logfile=None):
configure_opts_warn_re = re.compile(
r'^configure: WARNING: Unrecognized options: .*')
am_maintainer_mode_re = re.compile(r'.*/missing --run .*')
+ am_maintainer_mode_exclude_re = \
+ re.compile(r'.*/missing --run (autoheader|makeinfo)')
try:
for line in f:
- if am_maintainer_mode_re.search(line) is not None:
+ if am_maintainer_mode_re.search(line) is not None and \
+ am_maintainer_mode_exclude_re.search(line) is None:
am_maintainer_mode.append(line.rstrip("\n"))
if configure_opts_warn_re.match(line) is not None:
configure_opts_warn.append(line.rstrip("\n"))