Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 19:45:32 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d77259c8abcd - main - devel/rubygem-atomic: Fix build with llvm15
Message-ID:  <202306121945.35CJjWGT074182@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306121945.35CJjWGT074182>