From: Fabrice Fontaine Date: Sun, 12 Jan 2020 19:04:21 +0000 (+0100) Subject: package/tor: add systemd optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bb3bb44921fe50e46e9dcff00ebfb7262e421c5;p=buildroot.git package/tor: add systemd optional dependency Fixes: - http://autobuild.buildroot.org/results/fa5f8506866451f40eb5f548c1099ae931b26fcc Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/tor/tor.mk b/package/tor/tor.mk index 2ecb41f072..0b41897b85 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -30,6 +30,13 @@ ifeq ($(BR2_PACKAGE_LIBCAP),y) TOR_DEPENDENCIES += libcap endif +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +TOR_CONF_OPTS += --enable-systemd +TOR_DEPENDENCIES += host-pkgconf systemd +else +TOR_CONF_OPTS += --disable-systemd +endif + ifeq ($(BR2_PACKAGE_XZ),y) TOR_CONF_OPTS += --enable-lzma TOR_DEPENDENCIES += host-pkgconf xz