]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
perl: provide pod2man
authorRoss Burton <ross.burton@arm.com>
Thu, 22 Jan 2026 15:34:34 +0000 (15:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Jan 2026 11:37:48 +0000 (11:37 +0000)
Many recipes uses pod2man to generate manpages from an almost
human-readable source format, which is part of the perl recipe.

This means that we have recipes that don't install manpages, or more
accurately don't install manpages if built from clean but _do_ if they
are a rebuild (because do_package -> rpm-native -> perl-native means the
sysroot now has pod2man in).

The obvious fix here is to DEPEND on perl-native but that an often look
like a redundant dependency that can be removed as removing it doesn't
cause problems (I'm fairly confident I'm responsible for patches like
this).

So, add a PROVIDES of pod2man to perl, so that recipes can DEPEND on
pod2man-native and this dependency is both obvious as to it's purpose
and easily removed if the manpages change source format.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/perl_5.40.2.bb

index a78d2ed0be98cba7a6c616f231dd6535c9ed7ce9..2225dc202b7efc05d618925286363680ea53d67f 100644 (file)
@@ -34,6 +34,8 @@ DEPENDS += "perlcross-native zlib virtual/crypt"
 # make 4.1 has race issues with the double-colon usage of MakeMaker, see #14096
 DEPENDS += "make-native"
 
+PROVIDES = "pod2man"
+
 PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0"
 
 PACKAGECONFIG ??= "gdbm"