git: 4c12587d5f02 - main - textproc/lttoolbox: Fix build with utf8cpp 4.0.3+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Dec 2023 06:09:13 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4c12587d5f020bdd43a4f2890fd05b155d972bef
commit 4c12587d5f020bdd43a4f2890fd05b155d972bef
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 05:41:44 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 05:49:05 +0000
textproc/lttoolbox: Fix build with utf8cpp 4.0.3+
- Update version requirement of BUILD_DEPENDS to avoid using utf8cpp 4.0.2
utf8cpp 3.* installs to ${PREFIX}/include/utf8cpp/.
utf8cpp 4.0.{0,1,2} changes to ${PREFIX}/include/.
utf8cpp 4.0.3 changes back to ${PREFIX}/include/utf8cpp/.
---
textproc/lttoolbox/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/textproc/lttoolbox/Makefile b/textproc/lttoolbox/Makefile
index 4739039448e1..aebcf753a690 100644
--- a/textproc/lttoolbox/Makefile
+++ b/textproc/lttoolbox/Makefile
@@ -11,17 +11,18 @@ WWW= https://wiki.apertium.org/wiki/Lttoolbox
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= utf8cpp>=4.0.0:devel/utf8cpp
+BUILD_DEPENDS= utf8cpp>=4.0.3:devel/utf8cpp
LIB_DEPENDS= libicuio.so:devel/icu \
libxml2.so:textproc/libxml2
-USES= autoreconf compiler:c++14-lang libtool localbase pathfix pkgconfig tar:bz2
+USES= autoreconf compiler:c++14-lang libtool 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>