Skip to content

Commit

Permalink
Make graph dependencies optional
Browse files Browse the repository at this point in the history
  • Loading branch information
andresbeltranmsft authored and kraj committed Sep 22, 2022
1 parent ca74479 commit 9c136fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ HOMEPAGE = "http://oss.oetiker.ch/rrdtool/"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=39df84cfd8a5e18bf988f277f7946676"

DEPENDS = "libpng zlib cairo pango glib-2.0 libxml2 groff-native python3-setuptools-native"
DEPENDS = "libpng zlib glib-2.0 libxml2 groff-native python3-setuptools-native"

SRCREV = "3af04acd38bbc61bbdcdd931dcf234c971aa5336"
PV = "1.8.0"
Expand All @@ -24,7 +24,7 @@ SYSTEMD_SERVICE:rrdcached = "rrdcached.socket rrdcached.service"

EXTRA_AUTORECONF = "-I m4 --exclude=autopoint"

PACKAGECONFIG ??= "perl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"

PACKAGECONFIG[python] = "--enable-python=yes \
am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages \
Expand All @@ -40,6 +40,8 @@ PACKAGECONFIG[dbi] = "--enable-libdbi,--disable-libdbi,libdbi"

PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd,"

PACKAGECONFIG[graph] = "--enable-rrd_graph,--disable-rrd_graph,pango cairo"

EXTRA_OECONF = " \
--enable-shared \
--disable-libwrap \
Expand Down

0 comments on commit 9c136fc

Please sign in to comment.