From 1ec6d2be11e615f833b1f5f58aade9dd80594ae5 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Fri, 13 Jul 2018 22:37:18 +0200 Subject: [PATCH] dovecot: include nls.mk for iconv support libmariadb 10.2 needs to be linked in together with iconv, hence include nls.mk. dovecot will use iconv (if it can find it) also for its own character conversion needs, so add a general depend as well. Signed-off-by: Sebastian Kemper --- mail/dovecot/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index 4aa68b803..7bd5bef5b 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2014 OpenWrt.org +# Copyright (C) 2006-2018 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dovecot PKG_VERSION:=2.3.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.dovecot.org/releases/2.3 @@ -31,11 +31,14 @@ PKG_FIXUP:=autoreconf PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk +# iconv is needed when compiling with MySQL support. iconv will also be used by +# dovecot itself. +include $(INCLUDE_DIR)/nls.mk define Package/dovecot SECTION:=mail CATEGORY:=Mail - DEPENDS:=+DOVECOT_GSSAPI:krb5-libs +DOVECOT_LDAP:libopenldap +DOVECOT_MYSQL:libmysqlclient +DOVECOT_PGSQL:libpq +DOVECOT_SQLITE:libsqlite3 +libopenssl +librt +zlib +libbz2 +libcap +DOVECOT_ICU:icu + DEPENDS:=+DOVECOT_GSSAPI:krb5-libs +DOVECOT_LDAP:libopenldap +DOVECOT_MYSQL:libmysqlclient +DOVECOT_PGSQL:libpq +DOVECOT_SQLITE:libsqlite3 +libopenssl +librt +zlib +libbz2 +libcap +DOVECOT_ICU:icu $(ICONV_DEPENDS) TITLE:=An IMAP and POP3 daemon URL:=https://www.dovecot.org/ USERID:=dovecot=59:dovecot=59