git: 192e87fce836 - main - security/p5-Authen-SASL-Cyrus: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Aug 2023 20:30:28 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=192e87fce8360684e9eb18f9087fd5257413e8ca commit 192e87fce8360684e9eb18f9087fd5257413e8ca Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-06 19:19:22 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-06 20:30:18 +0000 security/p5-Authen-SASL-Cyrus: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- security/p5-Authen-SASL-Cyrus/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/security/p5-Authen-SASL-Cyrus/Makefile b/security/p5-Authen-SASL-Cyrus/Makefile index 8bab685170b5..69be78e54bae 100644 --- a/security/p5-Authen-SASL-Cyrus/Makefile +++ b/security/p5-Authen-SASL-Cyrus/Makefile @@ -17,4 +17,10 @@ USES= perl5 USE_PERL5= configure CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include <bsd.port.mk>