git: 60857c34a927 - main - devel/rubygem-unicode: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 20:49:34 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=60857c34a9277b2ee0be468c6add2707d3b06ad6
commit 60857c34a9277b2ee0be468c6add2707d3b06ad6
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 20:24:22 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 20:48:38 +0000
devel/rubygem-unicode: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
---
devel/rubygem-unicode/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/rubygem-unicode/Makefile b/devel/rubygem-unicode/Makefile
index 80b0f11e736c..2dd1cd924632 100644
--- a/devel/rubygem-unicode/Makefile
+++ b/devel/rubygem-unicode/Makefile
@@ -11,4 +11,10 @@ LICENSE= RUBY
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>