git: ab51dd97edfc - main - textproc/p5-Senna: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jul 2023 15:28:09 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab51dd97edfcd1d71d4baef6829f95c6078b894c commit ab51dd97edfcd1d71d4baef6829f95c6078b894c Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-19 15:26:25 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-19 15:27:55 +0000 textproc/p5-Senna: Fix build with llvm16 - Utilize USES=localbase while I am here Sponsored by: The FreeBSD Foundation --- textproc/p5-Senna/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/textproc/p5-Senna/Makefile b/textproc/p5-Senna/Makefile index c4ffd4ec8b37..d035c8578f95 100644 --- a/textproc/p5-Senna/Makefile +++ b/textproc/p5-Senna/Makefile @@ -15,9 +15,14 @@ LICENSE= LGPL21 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= senna-cfg:textproc/senna -USES= perl5 +USES= perl5 localbase USE_PERL5= modbuild CONFIGURE_ARGS+=</dev/null -CFLAGS+= -I${LOCALBASE}/include + +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif .include <bsd.port.mk>