aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-25 20:55:02 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-25 21:42:44 +0000
commita2d806e351230568b6633fca252260f8517d5855 (patch)
treee269c58b9405095452db58a3b882baf755eeb481
parent02047af0bfea363072f4dcd0cb129a0ea9ae49a5 (diff)
devel/rubygem-cbor: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--devel/rubygem-cbor/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/rubygem-cbor/Makefile b/devel/rubygem-cbor/Makefile
index 6ad3b3c6c73e..9a7f8555e951 100644
--- a/devel/rubygem-cbor/Makefile
+++ b/devel/rubygem-cbor/Makefile
@@ -11,4 +11,10 @@ LICENSE= APACHE20
USES= gem
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
+.endif
+
.include <bsd.port.mk>