From: Fabrice Fontaine Date: Thu, 22 Nov 2018 17:49:14 +0000 (+0100) Subject: dante: add linux-pam optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f1bba4a2cdb9246216157773c8a03956b2cd73d;p=buildroot.git dante: add linux-pam optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/dante/dante.mk b/package/dante/dante.mk index a147aa36dc..9666ec54fd 100644 --- a/package/dante/dante.mk +++ b/package/dante/dante.mk @@ -12,7 +12,14 @@ DANTE_LICENSE_FILES = LICENSE # Dante uses a *VERY* old configure.ac DANTE_LIBTOOL_PATCH = NO -DANTE_CONF_OPTS += --disable-client --disable-preload --without-pam +DANTE_CONF_OPTS += --disable-client --disable-preload + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +DANTE_DEPENDENCIES += linux-pam +DANTE_CONF_OPTS += --with-pam +else +DANTE_CONF_OPTS += --without-pam +endif define DANTE_INSTALL_CONFIG_FILE $(INSTALL) -D -m 644 $(@D)/example/sockd.conf \