diff mbox series

[v2,04/23] zsh: add missing manpages PACKAGECONFIG

Message ID 20250226155022.1989209-4-ross.burton@arm.com
State Under Review
Headers show
Series [v2,01/23] cpuid: fix stripping | expand

Commit Message

Ross Burton Feb. 26, 2025, 3:50 p.m. UTC
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 <ross.burton@arm.com>
---
 meta-oe/recipes-shells/zsh/zsh_5.9.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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