summaryrefslogtreecommitdiffstats
path: root/package/mutt
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-07-23 20:17:13 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-25 23:01:01 +0200
commitcdd532ffd284081073947a092389984b2d9cb296 (patch)
tree2b883e41eaa2d46d1ea0061fc61d753035df2c51 /package/mutt
parent01b7a01fe80f4f1a26e1526bed4b0d66a02130b8 (diff)
downloadbuildroot-cdd532ffd284081073947a092389984b2d9cb296.tar.gz
buildroot-cdd532ffd284081073947a092389984b2d9cb296.zip
mutt: add libidn2 support
libidn2 support was added in version 1.10: http://www.mutt.org/relnotes/1.10 libidn and libidn2 can't be selected at the same time: see configure.ac Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/mutt')
-rw-r--r--package/mutt/mutt.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk
index 1a2c5342d7..1c3021ece1 100644
--- a/package/mutt/mutt.mk
+++ b/package/mutt/mutt.mk
@@ -16,11 +16,15 @@ MUTT_DEPENDENCIES += libiconv
MUTT_CONF_OPTS += --enable-iconv
endif
-ifeq ($(BR2_PACKAGE_LIBIDN),y)
+# Both options can't be selected at the same time so prefer libidn2
+ifeq ($(BR2_PACKAGE_LIBIDN2),y)
+MUTT_DEPENDENCIES += libidn2
+MUTT_CONF_OPTS += --with-idn2 --without-idn
+else ifeq ($(BR2_PACKAGE_LIBIDN),y)
MUTT_DEPENDENCIES += libidn
-MUTT_CONF_OPTS += --with-idn
+MUTT_CONF_OPTS += --with-idn --without-idn2
else
-MUTT_CONF_OPTS += --without-idn
+MUTT_CONF_OPTS += --without-idn --without-idn2
endif
ifeq ($(BR2_PACKAGE_MUTT_IMAP),y)
OpenPOWER on IntegriCloud