diff options
Diffstat (limited to 'meta-oe/recipes-extended/rrdtool')
-rw-r--r-- | meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb index 14e1966560..9b54deb224 100644 --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb @@ -15,11 +15,13 @@ SRC_URI = "\ S = "${WORKDIR}/git" -inherit autotools-brokensep gettext pythonnative perlnative python-dir cpan-base +inherit autotools-brokensep gettext pythonnative perlnative python-dir cpan-base systemd + +SYSTEMD_SERVICE_${PN} = "rrdcached.socket rrdcached.service" EXTRA_AUTORECONF = "-I m4" -PACKAGECONFIG ??= "python perl" +PACKAGECONFIG ??= "python perl ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" PACKAGECONFIG[python] = "--enable-python=yes \ am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages \ @@ -33,6 +35,8 @@ ac_cv_path_PERL_CC='${CC}', \ PACKAGECONFIG[dbi] = "--enable-libdbi,--disable-libdbi,libdbi" +PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd," + EXTRA_OECONF = " \ --enable-shared \ --disable-libwrap \ |