If zsh is built with the api-documentation enabled, the manpages.bbclass
adds the 'manpages' PACKAGECONFIG but this isn't defined:

ERROR: zsh-5.9-r0 do_configure: QA Issue: zsh: invalid PACKAGECONFIG: manpages 
[invalid-packageconfig]

zsh doesn't have an option to disable the manpages, so add a stub
PACKAGECONFIG to silence this error.

Signed-off-by: Ross Burton <[email protected]>
---
 meta-oe/recipes-shells/zsh/zsh_5.9.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-shells/zsh/zsh_5.9.bb 
b/meta-oe/recipes-shells/zsh/zsh_5.9.bb
index 7940970e45..e867926f79 100644
--- a/meta-oe/recipes-shells/zsh/zsh_5.9.bb
+++ b/meta-oe/recipes-shells/zsh/zsh_5.9.bb
@@ -41,6 +41,9 @@ ALTERNATIVE_PRIORITY = "90"
 
 export AUTOHEADER = "true"
 
+# Needed for manpages.bbclass, but they're always installed
+PACKAGECONFIG[manpages] = ""
+
 do_configure () {
     gnu-configize --force ${S}
     oe_runconf
-- 
2.43.0

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

Reply via email to