1. Due to upstream commit [GNUmakefile: Require the user to specify
'-R' if their make(1) is too old][1], add option -R to make

2. Due to upstream commit [src/bin/pdfman, scripts/bash_aliases,
pdfman.1: Make pdfman a standalone program, and add a manual page][2],
inherit bbclass lib_package to use package ${PN}-bin to collect newly
added scripts and runtime depends on bash

[1] 
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=50c914d25b40ac6a4d63ce10ed146653098014a2
[2] 
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=ed9bc1e3277befd6e165270f14e458a5ec4074f1

Signed-off-by: Hongxu Jia <[email protected]>
---
 .../man-pages/{man-pages_6.9.1.bb => man-pages_6.11.bb}  | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/man-pages/{man-pages_6.9.1.bb => 
man-pages_6.11.bb} (92%)

diff --git a/meta/recipes-extended/man-pages/man-pages_6.9.1.bb 
b/meta/recipes-extended/man-pages/man-pages_6.11.bb
similarity index 92%
rename from meta/recipes-extended/man-pages/man-pages_6.9.1.bb
rename to meta/recipes-extended/man-pages/man-pages_6.11.bb
index 8258874dd7..52a1fbda14 100644
--- a/meta/recipes-extended/man-pages/man-pages_6.9.1.bb
+++ b/meta/recipes-extended/man-pages/man-pages_6.11.bb
@@ -20,9 +20,9 @@ LIC_FILES_CHKSUM = 
"file://README;md5=72cff06b7954222c24d38bc2c41b234e \
 SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/${BP}.tar.gz \
            "
 
-SRC_URI[sha256sum] = 
"3ae3f8ad97487d2c1b14258231d97d03b4e569b915377f6dd4f6be7141c57ee0"
+SRC_URI[sha256sum] = 
"44c09f43ae7a0b327efef5285a30d56ecc5fd4a07056f77e806f6c65196ba7f3"
 
-inherit manpages
+inherit manpages lib_package
 
 MAN_PKG = "${PN}"
 
@@ -32,6 +32,7 @@ PACKAGECONFIG[manpages] = ""
 do_configure[noexec] = "1"
 do_compile[noexec] = "1"
 
+EXTRA_OEMAKE += "-R"
 do_install() {
         oe_runmake install prefix=${prefix} DESTDIR=${D}
         rm -rf ${D}${mandir}/man3/crypt.3
@@ -40,6 +41,10 @@ do_install() {
         rm -rf ${D}${mandir}/man5/passwd.5
 }
 
+RDEPENDS:${PN}-bin += " \
+    bash \
+"
+
 # Only deliveres man-pages so FILES:${PN} gets everything
 FILES:${PN}-doc = ""
 FILES:${PN} = "${mandir}/*"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#211518): 
https://lists.openembedded.org/g/openembedded-core/message/211518
Mute This Topic: https://lists.openembedded.org/mt/111227800/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to