diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-07 02:39:42 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-07 13:54:42 +0200 |
commit | bc2fbcef8b593cfce3701b5f63450e853b2bb595 (patch) | |
tree | c25db180b0a504f08fa788c7a08bf559c515a1d7 /japanese | |
parent | graphics/p5-Tk-JPEG-Lite: Fix build with llvm16 (diff) |
japanese/jls: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/jls/Makefile | 6 |
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) |