Patchwork [v2,4/4] autotools.bbclass: Add help2man-native to the main DEPENDS tree

login
register
mail settings
Submitter Tom Rini
Date July 19, 2011, 2:07 a.m.
Message ID <3b723fb23fa99a03a9b8c3bcf68f473bb5277ae3.1311041054.git.tom_rini@mentor.com>
Download mbox | patch
Permalink /patch/7827/
State New, archived
Headers show

Comments

Tom Rini - July 19, 2011, 2:07 a.m.
With help2man no longer being required by sanity.bbclass we need to
make sure that if we are going to build autotools stuff that help2man
will be there as it's a frequent implicit dependency.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
---
 meta/classes/autotools.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 98c871a..ed5637e 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -5,9 +5,9 @@  def autotools_dep_prepend(d):
 	pn = bb.data.getVar('PN', d, 1)
 	deps = ''
 
-	if pn in ['autoconf-native', 'automake-native']:
+	if pn in ['autoconf-native', 'automake-native', 'help2man-native']:
 		return deps
-	deps += 'autoconf-native automake-native '
+	deps += 'autoconf-native automake-native help2man-native '
 
 	if not pn in ['libtool', 'libtool-native', 'libtool-cross']:
 		deps += 'libtool-native '