git: aceb4c1a38f3 - main - japanese/celrw: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Jun 2023 15:31:09 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=aceb4c1a38f30b98ba489db2f9177c641bfe0a29
commit aceb4c1a38f30b98ba489db2f9177c641bfe0a29
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-08 14:18:25 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-08 15:30:54 +0000
japanese/celrw: Fix build with llvm15
---
japanese/celrw/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/japanese/celrw/Makefile b/japanese/celrw/Makefile
index 13100242cb0d..97f80d0a9ea2 100644
--- a/japanese/celrw/Makefile
+++ b/japanese/celrw/Makefile
@@ -17,6 +17,12 @@ PLIST_FILES= bin/celrw
OPTIONS_DEFINE= DOCS
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
post-extract:
.for file in config.guess config.sub install.sh
@${RM} ${WRKSRC}/${file}
@@ -28,4 +34,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>