aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2017-09-13 14:29:58 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-24 13:46:20 +0200
commit13755ca3056e4793e483c2ec634c06ac017088d2 (patch)
tree936fa8664e71c33814d78c364f3ab82676d584a4
parent6ee9dbcc7546f07d34498fac69934d3095e17d8d (diff)
downloadbuildroot-13755ca3056e4793e483c2ec634c06ac017088d2.tar.gz
buildroot-13755ca3056e4793e483c2ec634c06ac017088d2.tar.bz2
package/ngircd: add optional support for linux-pam
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--package/ngircd/ngircd.mk7
1 files changed, 7 insertions, 0 deletions
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