aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-19 15:52:15 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-19 17:30:37 +0000
commit1f947192e8b64f1eb3ca89de202cbbd0c0e25c65 (patch)
treea4f620e24215f1b289e3588b60093ab1443d7c0f
parent3ff054290d0d14b560434b5128c6636183f6763e (diff)
downloadports-1f947192e8b64f1eb3ca89de202cbbd0c0e25c65.tar.gz
ports-1f947192e8b64f1eb3ca89de202cbbd0c0e25c65.zip
devel/rubygem-curses: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
-rw-r--r--devel/rubygem-curses/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/rubygem-curses/Makefile b/devel/rubygem-curses/Makefile
index d07e067d3075..c8e8a1fb2716 100644
--- a/devel/rubygem-curses/Makefile
+++ b/devel/rubygem-curses/Makefile
@@ -12,4 +12,10 @@ LICENSE_COMB= dual
USES= gem ncurses
+.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>