From: Louis Rannou <[email protected]>

rrdtool package configuration 'graph' relies on graphical support. Ignore
it if none of x11 org wayland is in the distro features.

Signed-off-by: Louis Rannou <[email protected]>
---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb 
b/meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb
index 69c281bd92..752ecc6c48 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb
@@ -25,7 +25,11 @@ AUTOTOOLS_AUXDIR = "${S}/conftools"
 
 EXTRA_AUTORECONF = "-I m4 --exclude=autopoint"
 
-PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', 
d)}"
+PACKAGECONFIG ??= " \
+    perl \
+    ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'graph', '', 
d)} \
+    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
+"
 
 PACKAGECONFIG[python] = "--enable-python=yes \
 
am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages
 \

---
base-commit: 3c5711e73245e913cfec9444e626dda9ad89fd76
change-id: 20260227-rrdtool-graph-2cf28a25fd23

Best regards,
--  
Louis Rannou <[email protected]>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124818): 
https://lists.openembedded.org/g/openembedded-devel/message/124818
Mute This Topic: https://lists.openembedded.org/mt/118096865/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to