git: 3b19f9b0f6c4 - main - devel/rubygem-concurrent-ruby-ext: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 22:58:49 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3b19f9b0f6c44620b4644f000196e4f01074fb4a
commit 3b19f9b0f6c44620b4644f000196e4f01074fb4a
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-12 22:48:49 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-12 22:58:36 +0000
devel/rubygem-concurrent-ruby-ext: Fix build with llvm15
Approved by: portmgr (blanket)
---
devel/rubygem-concurrent-ruby-ext/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/rubygem-concurrent-ruby-ext/Makefile b/devel/rubygem-concurrent-ruby-ext/Makefile
index e2f16ba8293f..90cda04607c3 100644
--- a/devel/rubygem-concurrent-ruby-ext/Makefile
+++ b/devel/rubygem-concurrent-ruby-ext/Makefile
@@ -14,4 +14,10 @@ RUN_DEPENDS= rubygem-concurrent-ruby>=${PORTVERSION}<${PORTVERSION}_99:devel/rub
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>