Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2023 17:23:51 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 99ea28113017 - main - textproc/lttoolbox: Fix build with utf8cpp 4.0.0+
Message-ID:  <202311141723.3AEHNpNq085271@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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