aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-07-11 18:58:38 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-08-04 19:20:51 +0200
commit573839e6b666110991ad8c142d7f61ce6c77ace0 (patch)
tree2bf186dd411809b9f42e5cdd573549e79a820e95
parentd949a9591614b2907da539993f4d34674e44bc2b (diff)
downloadbuildroot-573839e6b666110991ad8c142d7f61ce6c77ace0.tar.gz
buildroot-573839e6b666110991ad8c142d7f61ce6c77ace0.tar.bz2
package/dovecot: add linux-pam optional dependency
Fixes: - http://autobuild.buildroot.org/results/bba0d54cab164d77caf7161596b22602875a7a85 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 9ff28a441080df49a4b33e80f8f50f5aa0c16ef0) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/dovecot/dovecot.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/dovecot/dovecot.mk b/package/dovecot/dovecot.mk
index 78bc41bff2..b13bbc429d 100644
--- a/package/dovecot/dovecot.mk
+++ b/package/dovecot/dovecot.mk
@@ -64,6 +64,13 @@ else
DOVECOT_CONF_OPTS += --without-sodium
endif
+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+DOVECOT_CONF_OPTS += --with-pam
+DOVECOT_DEPENDENCIES += linux-pam
+else
+DOVECOT_CONF_OPTS += --without-pam
+endif
+
ifeq ($(BR2_PACKAGE_DOVECOT_MYSQL),y)
DOVECOT_CONF_ENV += MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config"
DOVECOT_CONF_OPTS += --with-mysql