git: d77259c8abcd - main - devel/rubygem-atomic: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 19:45:32 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d77259c8abcdae0c952f03a56a197c61104580f4
commit d77259c8abcdae0c952f03a56a197c61104580f4
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-12 16:52:57 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-12 19:45:16 +0000
devel/rubygem-atomic: Fix build with llvm15
Approved by: portmgr (blanket)
---
devel/rubygem-atomic/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/rubygem-atomic/Makefile b/devel/rubygem-atomic/Makefile
index 087896ade2ca..c90dc22f5518 100644
--- a/devel/rubygem-atomic/Makefile
+++ b/devel/rubygem-atomic/Makefile
@@ -12,4 +12,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gem
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CONFIGURE_ARGS+= --with-cflags="-Wno-error=int-conversion"
+.endif
+
.include <bsd.port.mk>