git: 5dc1c7edbe95 - main - devel/libdatrie: Fix BUILD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 14:53:01 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5dc1c7edbe955020808f3eca113d1a5f053b67f7 commit 5dc1c7edbe955020808f3eca113d1a5f053b67f7 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-03-21 14:50:03 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-03-21 14:52:55 +0000 devel/libdatrie: Fix BUILD While converters/libiconv is installed libdatrie fails to build as it tries to use the iconv library from libc which do not contain all the funcntionalities of libiconv. So rather than depending on the base of iconv switch to the port version entirely. PR: 266241 Reported by: se --- devel/libdatrie/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/devel/libdatrie/Makefile b/devel/libdatrie/Makefile index 86ea9a5d8b12..95dad1c01253 100644 --- a/devel/libdatrie/Makefile +++ b/devel/libdatrie/Makefile @@ -1,5 +1,6 @@ PORTNAME= libdatrie PORTVERSION= 0.2.13 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://linux.thai.net/pub/thailinux/software/libthai/ @@ -10,12 +11,13 @@ WWW= https://linux.thai.net/projects/datrie/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= iconv libtool localbase:ldflags pathfix tar:xz -GNU_CONFIGURE= yes +USES= iconv:wchar_t libtool localbase:ldflags pathfix tar:xz USE_LDCONFIG= yes -LDFLAGS+= ${ICONV_LIB} +GNU_CONFIGURE= yes INSTALL_TARGET= install-strip +LDFLAGS+= ${ICONV_LIB} + .include <bsd.port.mk>