aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-12 22:48:03 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-12 22:58:36 +0000
commit2a8d115006485bcec6b46186ff87fbc1f9cebb5e (patch)
tree891a35daddb544fbbc96a3a58bb677924603f5f6
parentbe274641fa6816bc9020960b41c392b86b93110e (diff)
downloadports-2a8d115006485bcec6b46186ff87fbc1f9cebb5e.tar.gz
ports-2a8d115006485bcec6b46186ff87fbc1f9cebb5e.zip
devel/ruby-subversion: Fix build with llvm15
Approved by: portmgr (blanket)
-rw-r--r--devel/ruby-subversion/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/ruby-subversion/Makefile b/devel/ruby-subversion/Makefile
index d1b8b6afc556..e5b3ba6bb22f 100644
--- a/devel/ruby-subversion/Makefile
+++ b/devel/ruby-subversion/Makefile
@@ -24,4 +24,8 @@ INSTALL_TARGET= install-swig-rb
CFLAGS+= -fdeclspec
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
.include <bsd.port.post.mk>