[Buildroot] [git commit] package/dovecot: add linux-pam optional dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Jul 20 16:45:20 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=9ff28a441080df49a4b33e80f8f50f5aa0c16ef0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
- http://autobuild.buildroot.org/results/bba0d54cab164d77caf7161596b22602875a7a85
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/dovecot/dovecot.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/dovecot/dovecot.mk b/package/dovecot/dovecot.mk
index e4573e63f4..5a04b314ec 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
More information about the buildroot
mailing list