<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 22, 2018 at 12:36 AM Richard Purdie <<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 2018-06-22 at 02:07 +0500, Christopher Larson wrote:<br>
> From: Christopher Larson <<a href="mailto:chris_larson@mentor.com" target="_blank">chris_larson@mentor.com</a>><br>
> <br>
> It's not common practice to make -doc rdep on man when man pages are<br>
> included, and doing so prevents the recipe from building for non-<br>
> gplv3<br>
> <br>
> Signed-off-by: Christopher Larson <<a href="mailto:chris_larson@mentor.com" target="_blank">chris_larson@mentor.com</a>><br>
> ---<br>
> meta/recipes-kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a> | 1 -<br>
> 1 file changed, 1 deletion(-)<br>
> <br>
> diff --git a/meta/recipes-kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a> b/meta/recipes-<br>
> kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a><br>
> index 51f5597eb92..5e710f61834 100644<br>
> --- a/meta/recipes-kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a><br>
> +++ b/meta/recipes-kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a><br>
> @@ -239,7 +239,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"<br>
> PACKAGES =+ "${PN}-archive ${PN}-tests ${PN}-perl ${PN}-python"<br>
> <br>
> RDEPENDS_${PN} += "elfutils bash"<br>
> -RDEPENDS_${PN}-doc += "man"<br>
> RDEPENDS_${PN}-archive =+ "bash"<br>
> RDEPENDS_${PN}-python =+ "bash python python-modules ${@bb.utils.con<br>
> tains('PACKAGECONFIG', 'audit', 'audit-python', '', d)}"<br>
> RDEPENDS_${PN}-perl =+ "bash perl perl-modules"<br>
<br>
We're certainly not consistent but:<br>
<br>
<a href="http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/classes/manpages.bbclass#n13" rel="noreferrer" target="_blank">http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/classes/manpages.bbclass#n13</a><br>
<br>
RDEPENDS_${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'man-db', '', d)}"<br>
<br>
man-db is gplv2 too...<br></blockquote><div><br></div><div>Ah, well spotted, I didn't know about that one. If that's the case, I'll drop this patch and rework both it and manpages.bbclass to make the rdep conditional on license compatibility. Thanks!<br></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Senior Software Engineer, Mentor Graphics</div></div></div></div></div>