aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-26 12:08:23 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-26 12:16:02 +0000
commit5478a5060cd45e86282e75f8c7824e06868460bb (patch)
tree84a8f2636b05410abee6eb8eaec2825d7baf069b /japanese
parenta0a49d750dd06add5340b27e8df79c3db0580c5d (diff)
downloadports-5478a5060cd45e86282e75f8c7824e06868460bb.tar.gz
ports-5478a5060cd45e86282e75f8c7824e06868460bb.zip
japanese/libskk: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'japanese')
-rw-r--r--japanese/libskk/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/japanese/libskk/Makefile b/japanese/libskk/Makefile
index 03323773ab02..d045e9d70004 100644
--- a/japanese/libskk/Makefile
+++ b/japanese/libskk/Makefile
@@ -33,6 +33,12 @@ NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
NLS_USES_OFF= gettext-tools
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}