git: 3a8cd0d0c825 - main - java/openjfx14: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Jun 2023 18:09:57 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3a8cd0d0c825b5d685468281e699b421b51e66e9
commit 3a8cd0d0c825b5d685468281e699b421b51e66e9
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 23:45:45 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-25 18:09:46 +0000
java/openjfx14: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
---
java/openjfx14/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile
index bca33a959caa..24e83cc0d9c9 100644
--- a/java/openjfx14/Makefile
+++ b/java/openjfx14/Makefile
@@ -89,6 +89,12 @@ _GRADLE_RUN= ${SETENV} ${_GRADLE_ENV} gradle62 --no-daemon
_INSTALLDIR= ${PREFIX}/${PKGBASE}
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-extract:
${MKDIR} ${WRKDIR}/jars
.for f in core grouping queries queryparser sandbox