diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-06 19:19:22 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-06 20:30:18 +0000 |
commit | 192e87fce8360684e9eb18f9087fd5257413e8ca (patch) | |
tree | 63860170c59a0a611d0e59c5d76ef7a979a8b2c9 | |
parent | 7ba22cf909a48365fedad979062977662d080e5a (diff) | |
download | ports-192e87fce8360684e9eb18f9087fd5257413e8ca.tar.gz ports-192e87fce8360684e9eb18f9087fd5257413e8ca.zip |
security/p5-Authen-SASL-Cyrus: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | security/p5-Authen-SASL-Cyrus/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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> |