diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-05 19:11:24 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-05 19:34:42 +0000 |
commit | 83e65d81b6551dc81a2ad5122c35935d32e42ec4 (patch) | |
tree | 3550d0f187aecbded2c46225538da50608b079eb | |
parent | 46f341bb935225b15ae3aea20293019eb5a22f68 (diff) | |
download | ports-83e65d81b6551dc81a2ad5122c35935d32e42ec4.tar.gz ports-83e65d81b6551dc81a2ad5122c35935d32e42ec4.zip |
mail/qconfirm: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | mail/qconfirm/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/qconfirm/Makefile b/mail/qconfirm/Makefile index 4ff81c87d141..84c5f75a7222 100644 --- a/mail/qconfirm/Makefile +++ b/mail/qconfirm/Makefile @@ -17,6 +17,12 @@ ALL_TARGET= default OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-configure: @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc @${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/conf-ld |