kronosnet: inherit manpages
PATCH 1/1 kronosnet: inherit manpages
Let manpages bbclass handle man pages.
--- .../recipes-extended/kronosnet/kronosnet_1.18.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-networking/recipes-extended/kronosnet/kronosnet_1.18.bb +3 -3
@@ -16,7 +16,7 @@ SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1" UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" -inherit autotools +inherit autotools manpages S = "${WORKDIR}/git"
@@ -26,5 +26,5 @@ S = "${WORKDIR}/git" CFLAGS_append_toolchain-clang = " -Wno-sign-compare" PACKAGECONFIG[man] = "enable_man="yes", --disable-man, " - -PACKAGECONFIG_remove = "man" +# +#PACKAGECONFIG_remove = "man"
Signature · 1 line
2.25.1
Quoted 24 lines · Oleksandr Kravchuk
Let manpages bbclass handle man pages.
Signed-off-by Oleksandr Kravchuk <[email protected]>--- .../recipes-extended/kronosnet/kronosnet_1.18.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)(quoted diff) +0
-0extended/kronosnet/kronosnet_1.18.bb b/meta-networking/recipes- extended/kronosnet/kronosnet_1.18.bb
index7b1dfc241..3fd6298b5100644meta-networking/recipes-extended/kronosnet/kronosnet_1.18.bb +0
-0@@ -16,7 +16,7 @@ SRC_URI ="
git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1"
UPSTREAM_CHECK_URI= "https://github.com/kronosnet/kronosnet/releases"meta-networking/recipes-extended/kronosnet/kronosnet_1.18.bb +1
-1-inherit autotools +inherit autotools manpages S = "${WORKDIR}/git"
meta-networking/recipes-extended/kronosnet/kronosnet_1.18.bb S = "${WORKDIR}/git" · line 28
Quoted 3 lines
meta-networking/recipes-extended/kronosnet/kronosnet_1.18.bb +0
-0@@ -26,5 +26,5 @@ S = "${WORKDIR}/git" CFLAGS_append_toolchain-clang = " -Wno-sign-compare" PACKAGECONFIG[man] = "enable_man="yes", --disable-man, "
To use the manpages class, you'll want to change the PACKAGECONFIG option to "manpages". Unless there is some reason to do otherwise, I also suggest using --enable-man along with --disable-man to be consistent:
PACKAGECONFIG[manpages] = "--enable-man,--disable-man"
There are still some errors in do_install when enabling this that you'll need to look into as well if you want to enable man pages. For example:
| /home/robert/yocto/poky/build/tmp/hosttools/install: cannot stat '../../git/man/knet_addrtostr.3': No such file or directory
Thanks,
Robert
Quoted 5 lines
meta-networking/recipes-extended/kronosnet/kronosnet_1.18.bb +2
-2- -PACKAGECONFIG_remove = "man" +# +#PACKAGECONFIG_remove = "man"