summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-02 18:16:07 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-02 18:22:20 +0200
commit115ff551f25f6d6a72239c019ac2bb0a6028b819 (patch)
treec9ca828a26a1efd4ec942d5b7d61e38c7cfe37fc /japanese
parentmath/libflame: Unbreak (diff)
japanese/kdrill: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kdrill/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/japanese/kdrill/Makefile b/japanese/kdrill/Makefile
index dd0920ac0d84..c88d46126e36 100644
--- a/japanese/kdrill/Makefile
+++ b/japanese/kdrill/Makefile
@@ -15,6 +15,12 @@ USE_XORG= ice sm x11 xaw xext xmu xpm xt
DATADIR= ${PREFIX}/share/dict/kdrill
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-build:
@(cd ${WRKSRC}/makedic && ${DO_MAKE_BUILD} ${ALL_TARGET})