From: Bernd Kuhls Date: Wed, 13 Sep 2017 12:29:58 +0000 (+0200) Subject: package/ngircd: add optional support for linux-pam X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13755ca3056e4793e483c2ec634c06ac017088d2;p=buildroot.git package/ngircd: add optional support for linux-pam Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/ngircd/ngircd.mk b/package/ngircd/ngircd.mk index 9fa30da24c..37c4f87d43 100644 --- a/package/ngircd/ngircd.mk +++ b/package/ngircd/ngircd.mk @@ -10,6 +10,13 @@ NGIRCD_SITE = https://arthur.barton.de/pub/ngircd NGIRCD_LICENSE = GPL-2.0+ NGIRCD_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +NGIRCD_CONF_OPTS += --with-pam=$(STAGING_DIR)/usr +NGIRCD_DEPENDENCIES += linux-pam +else +NGIRCD_CONF_OPTS += --with-pam +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) NGIRCD_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr NGIRCD_DEPENDENCIES += openssl