aboutsummaryrefslogtreecommitdiff
path: root/japanese/jls
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-07 00:39:42 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-07 11:54:42 +0000
commitbc2fbcef8b593cfce3701b5f63450e853b2bb595 (patch)
treec25db180b0a504f08fa788c7a08bf559c515a1d7 /japanese/jls
parent5a62e86a500c9a14220ebb47ff13a8971b0abd05 (diff)
downloadports-bc2fbcef8b593cfce3701b5f63450e853b2bb595.tar.gz
ports-bc2fbcef8b593cfce3701b5f63450e853b2bb595.zip
japanese/jls: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'japanese/jls')
-rw-r--r--japanese/jls/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/japanese/jls/Makefile b/japanese/jls/Makefile
index 546ce15fbc46..37241f28be55 100644
--- a/japanese/jls/Makefile
+++ b/japanese/jls/Makefile
@@ -19,6 +19,12 @@ PLIST_FILES= bin/jls \
WRKSRC= ${WRKDIR}/ls
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
pre-patch:
(cd ${WRKSRC} && ${MV} ls.1 jls.1)