git: 99ea28113017 - main - textproc/lttoolbox: Fix build with utf8cpp 4.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 17:23:51 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=99ea2811301727efa75ea2658f60b3486e803469

commit 99ea2811301727efa75ea2658f60b3486e803469
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 16:54:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 17:16:51 +0000

    textproc/lttoolbox: Fix build with utf8cpp 4.0.0+
---
 textproc/lttoolbox/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/textproc/lttoolbox/Makefile b/textproc/lttoolbox/Makefile
index be8e5c2bb804..dd4cb21e79c1 100644
--- a/textproc/lttoolbox/Makefile
+++ b/textproc/lttoolbox/Makefile
@@ -11,18 +11,17 @@ WWW=		https://wiki.apertium.org/wiki/Lttoolbox
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	utf8cpp>0:devel/utf8cpp
+BUILD_DEPENDS=	utf8cpp>=4.0.0:devel/utf8cpp
 LIB_DEPENDS=	libicuio.so:devel/icu \
 		libxml2.so:textproc/libxml2
 
-USES=		autoreconf compiler:c++14-lang libtool pathfix pkgconfig tar:bz2
+USES=		autoreconf compiler:c++14-lang libtool localbase pathfix pkgconfig tar:bz2
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
 
 INSTALL_TARGET=	install-strip
 
-CFLAGS+=	-I${LOCALBASE}/include/utf8cpp
 LDFLAGS+=	-lpthread
 
 .include <bsd.port.pre.mk>