diff options
| author | Louis Rannou <louis.rannou@non.se.com> | 2026-03-02 17:37:55 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-02 19:26:02 -0800 |
| commit | 1e824240fbb59fc509ff89dd2da9c6fe2eb39afd (patch) | |
| tree | 22a374599bd681f9ce9da45f47195d66be461c90 | |
| parent | bb5f304e15ae959d91a34ee236b2e4cd93e02031 (diff) | |
| download | meta-openembedded-1e824240fbb59fc509ff89dd2da9c6fe2eb39afd.tar.gz | |
rrdtool: takes graph only with x11 or wayland
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 <louis.rannou@non.se.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb | 6 |
1 files changed, 5 insertions, 1 deletions
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" | |||
| 25 | 25 | ||
| 26 | EXTRA_AUTORECONF = "-I m4 --exclude=autopoint" | 26 | EXTRA_AUTORECONF = "-I m4 --exclude=autopoint" |
| 27 | 27 | ||
| 28 | PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 28 | PACKAGECONFIG ??= " \ |
| 29 | perl \ | ||
| 30 | ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'graph', '', d)} \ | ||
| 31 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | ||
| 32 | " | ||
| 29 | 33 | ||
| 30 | PACKAGECONFIG[python] = "--enable-python=yes \ | 34 | PACKAGECONFIG[python] = "--enable-python=yes \ |
| 31 | am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages \ | 35 | am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages \ |
