From 4b70493c07b75c43eecd474cfe9f40de01f79b04 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Wed, 18 Mar 2015 14:44:42 -0700 Subject: [PATCH] package/procps-ng: if building with systemd, enable systemd-specific features [Thomas: add explicit --without-systemd option when systemd is not available.] Signed-off-by: Steven Noonan Signed-off-by: Thomas Petazzoni --- package/procps-ng/procps-ng.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/procps-ng/procps-ng.mk b/package/procps-ng/procps-ng.mk index ff3c6d32ef..b1c17c0b36 100644 --- a/package/procps-ng/procps-ng.mk +++ b/package/procps-ng/procps-ng.mk @@ -24,6 +24,13 @@ PROCPS_NG_DEPENDENCIES += gettext PROCPS_NG_CONF_OPTS += LIBS=-lintl endif +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +PROCPS_NG_DEPENDENCIES += systemd +PROCPS_NG_CONF_OPTS += --with-systemd +else +PROCPS_NG_CONF_OPTS += --without-systemd +endif + # We need this to make procps-ng binaries installed in $(TARGET_DIR)/usr # instead of $(TARGET_DIR)/usr/usr PROCPS_NG_CONF_OPTS += --exec-prefix= -- 2.30.2