summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy A. Puhlman <jpuhlman@mvista.com>2022-05-20 14:30:07 -0400
committerArmin Kuster <akuster808@gmail.com>2022-05-23 07:11:55 -0700
commite05ce8fb3943755ef7c73c07e456e8ee8757f7bd (patch)
treea9e2980b08a28a2a9d9dcc452480bf3614dc08d4
parent17d7ad92eaad54d2d977e5a08dffb369cf2e61a4 (diff)
downloadmeta-security-e05ce8fb3943755ef7c73c07e456e8ee8757f7bd.tar.gz
lib-perl: prefix man pages to avoid conflicting with base perl
The following occurs when pkgs-docs added to image features. Error: Transaction test error: file /usr/share/man/man3/lib.3 conflicts between attempted installs of lib-perl-doc-0.63-r0.corei7_64 and perl-doc-5.34.1-r0.corei7_64 Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-perl/perl/lib-perl_0.63.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-perl/perl/lib-perl_0.63.bb b/recipes-perl/perl/lib-perl_0.63.bb
index 4c964d5..25d0890 100644
--- a/recipes-perl/perl/lib-perl_0.63.bb
+++ b/recipes-perl/perl/lib-perl_0.63.bb
@@ -26,3 +26,10 @@ do_compile() {
26 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" 26 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
27 cpan_do_compile 27 cpan_do_compile
28} 28}
29
30do_install:append() {
31 # Man pages here conflict wtih the main perl documentation
32 for page in ${D}${mandir}/man*/*; do
33 mv $page $(dirname $page)/${BPN}-$(basename $page)
34 done
35}