git: 5a62e86a500c - main - graphics/p5-Tk-JPEG-Lite: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 12:27:02 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a62e86a500c9a14220ebb47ff13a8971b0abd05 commit 5a62e86a500c9a14220ebb47ff13a8971b0abd05 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-07 00:38:42 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-07 11:54:41 +0000 graphics/p5-Tk-JPEG-Lite: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/p5-Tk-JPEG-Lite/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/graphics/p5-Tk-JPEG-Lite/Makefile b/graphics/p5-Tk-JPEG-Lite/Makefile index 6e16da3ee971..a4ccb839e447 100644 --- a/graphics/p5-Tk-JPEG-Lite/Makefile +++ b/graphics/p5-Tk-JPEG-Lite/Makefile @@ -16,6 +16,12 @@ RUN_DEPENDS= p5-Tk>=0:x11-toolkits/p5-Tk USES= jpeg perl5 USE_PERL5= configure +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/Makefile.PL