Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2025 20:56:19 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8d5f66f0fa90 - main - mail/dovecot: Fix build with option ICU (full text search plugin) after update icu to 76.1
Message-ID:  <202502152056.51FKuJEk019837@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8d5f66f0fa904ccfda9accffde16063a2198c9f7

commit 8d5f66f0fa904ccfda9accffde16063a2198c9f7
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-02-15 20:47:07 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-02-15 20:47:07 +0000

    mail/dovecot: Fix build with option ICU (full text search plugin) after update icu to 76.1
    
    ld: error: undefined symbol: u_strFromUTF8Lenient
    >>> referenced by fts-icu.c
    >>>               .libs/fts-icu.o:(fts_icu_utf8_to_utf16)
    >>> referenced by fts-icu.c
    >>>               .libs/fts-icu.o:(fts_icu_utf8_to_utf16)
    
    ld: error: undefined symbol: u_errorName
    >>> referenced by fts-icu.c
    >>>               .libs/fts-icu.o:(fts_icu_utf8_to_utf16)
    >>> referenced by fts-icu.c
    >>>               .libs/fts-icu.o:(fts_icu_utf16_to_utf8)
    >>> referenced by fts-icu.c
    >>>               .libs/fts-icu.o:(fts_icu_translate)
    >>> referenced 3 more times
    
    PR:             284832
    Approved by:    ler (maintainer, implicit)
---
 mail/dovecot/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 2e757120e226..def5b3f0c522 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -92,8 +92,10 @@ GSSAPI_MIT_USES=		gssapi:mit
 GSSAPI_NONE_CONFIGURE_ON=	--without-gssapi
 GSSAPI_NONE_CONFIGURE_OFF=	--with-gssapi ${GSSAPI_CONFIGURE_ARGS}
 
-ICU_LIB_DEPENDS=		libicui18n.so:devel/icu
+ICU_LIB_DEPENDS=		libicui18n.so:devel/icu \
+				libicuuc.so:devel/icu
 ICU_CONFIGURE_WITH=		icu
+ICU_LDFLAGS=			-licuuc
 
 LDAP_USES=			ldap
 LDAP_CONFIGURE_WITH=		ldap


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502152056.51FKuJEk019837>