From 8bb3bb44921fe50e46e9dcff00ebfb7262e421c5 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 12 Jan 2020 20:04:21 +0100 Subject: [PATCH] package/tor: add systemd optional dependency Fixes: - http://autobuild.buildroot.org/results/fa5f8506866451f40eb5f548c1099ae931b26fcc Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/tor/tor.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2