seatd will build manpages if scdoc is present.  Inherit manpages and
add a PACKAGECONFIG so that we build them if they're enabled.

This also removes a floating dependency on scdoc.

Signed-off-by: Ross Burton <[email protected]>
---
 meta/recipes-core/seatd/seatd_0.9.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/seatd/seatd_0.9.3.bb 
b/meta/recipes-core/seatd/seatd_0.9.3.bb
index 72c54d58ab9..82a47196a73 100644
--- a/meta/recipes-core/seatd/seatd_0.9.3.bb
+++ b/meta/recipes-core/seatd/seatd_0.9.3.bb
@@ -10,7 +10,7 @@ SRC_URI = 
"git://git.sr.ht/~kennylevinsen/seatd;protocol=https;branch=master;tag
            file://init"
 SRCREV = "daa8196e10b180b8b0caeafa8e5f860eb1bd6706"
 
-inherit meson pkgconfig systemd update-rc.d useradd
+inherit meson manpages pkgconfig systemd update-rc.d useradd
 
 # https://www.openwall.com/lists/musl/2020/01/20/3
 CFLAGS:append:libc-musl:powerpc64le = " -Wno-error=overflow"
@@ -30,6 +30,7 @@ PACKAGECONFIG ?= " \
 
 PACKAGECONFIG[libseat-builtin] = 
"-Dlibseat-builtin=enabled,-Dlibseat-builtin=disabled"
 PACKAGECONFIG[systemd] = "-Dlibseat-logind=systemd,,systemd"
+PACKAGECONFIG[manpages] = 
"-Dman-pages=enabled,-Dman-pages-disabled,scdoc-native"
 
 do_install:append() {
         if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then
-- 
2.43.0

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

Reply via email to