diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-26 12:08:23 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-26 12:16:02 +0000 |
commit | 5478a5060cd45e86282e75f8c7824e06868460bb (patch) | |
tree | 84a8f2636b05410abee6eb8eaec2825d7baf069b /japanese/libskk/Makefile | |
parent | a0a49d750dd06add5340b27e8df79c3db0580c5d (diff) | |
download | ports-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/libskk/Makefile')
-rw-r--r-- | japanese/libskk/Makefile | 6 |
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} |