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 14e196656..9b54deb22 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 = "\ | |||
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | inherit autotools-brokensep gettext pythonnative perlnative python-dir cpan-base | 18 | inherit autotools-brokensep gettext pythonnative perlnative python-dir cpan-base systemd |
19 | |||
20 | SYSTEMD_SERVICE_${PN} = "rrdcached.socket rrdcached.service" | ||
19 | 21 | ||
20 | EXTRA_AUTORECONF = "-I m4" | 22 | EXTRA_AUTORECONF = "-I m4" |
21 | 23 | ||
22 | PACKAGECONFIG ??= "python perl" | 24 | PACKAGECONFIG ??= "python perl ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
23 | 25 | ||
24 | PACKAGECONFIG[python] = "--enable-python=yes \ | 26 | PACKAGECONFIG[python] = "--enable-python=yes \ |
25 | am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages \ | 27 | am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages \ |
@@ -33,6 +35,8 @@ ac_cv_path_PERL_CC='${CC}', \ | |||
33 | 35 | ||
34 | PACKAGECONFIG[dbi] = "--enable-libdbi,--disable-libdbi,libdbi" | 36 | PACKAGECONFIG[dbi] = "--enable-libdbi,--disable-libdbi,libdbi" |
35 | 37 | ||
38 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd," | ||
39 | |||
36 | EXTRA_OECONF = " \ | 40 | EXTRA_OECONF = " \ |
37 | --enable-shared \ | 41 | --enable-shared \ |
38 | --disable-libwrap \ | 42 | --disable-libwrap \ |