From: Fabrice Fontaine Date: Thu, 23 Jul 2020 21:56:22 +0000 (+0200) Subject: package/squid: add optional systemd dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a70bcb531ce5e22e8a6126a6ed774dd538e18623;p=buildroot.git package/squid: add optional systemd dependency systemd is an optional dependency (enabled by default) since version 4.11 and https://github.com/squid-cache/squid/commit/6fa8c66435d55a2e713db0222cdca3a9dccf5bbe Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/squid/squid.mk b/package/squid/squid.mk index d281eee3ed..ef2f84085c 100644 --- a/package/squid/squid.mk +++ b/package/squid/squid.mk @@ -62,6 +62,13 @@ else SQUID_CONF_OPTS += --without-gnutls endif +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +SQUID_CONF_OPTS += --with-systemd +SQUID_DEPENDENCIES += systemd +else +SQUID_CONF_OPTS += --without-systemd +endif + define SQUID_CLEANUP_TARGET rm -f $(addprefix $(TARGET_DIR)/usr/bin/, \ RunCache RunAccel)