git: cc395675449c - main - mail/cyrus-imapd25: Make it buildable with db18 on recent FreeBSD.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Mar 2024 13:08:26 UTC
The branch main has been updated by ume: URL: https://cgit.FreeBSD.org/ports/commit/?id=cc395675449ce188bc3868e720d753ad603a2947 commit cc395675449ce188bc3868e720d753ad603a2947 Author: Hajimu UMEMOTO <ume@FreeBSD.org> AuthorDate: 2024-03-10 13:06:46 +0000 Commit: Hajimu UMEMOTO <ume@FreeBSD.org> CommitDate: 2024-03-10 13:08:14 +0000 mail/cyrus-imapd25: Make it buildable with db18 on recent FreeBSD. --- mail/cyrus-imapd25/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mail/cyrus-imapd25/Makefile b/mail/cyrus-imapd25/Makefile index beee0eaf98be..02af91b9da2a 100644 --- a/mail/cyrus-imapd25/Makefile +++ b/mail/cyrus-imapd25/Makefile @@ -157,6 +157,12 @@ CYRUS_MAN8+= ctl_zoneinfo httpd CYRUS_MAN8+= fetchnews nntpd .endif +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ @@ -209,4 +215,4 @@ post-install-EXAMPLES-on: @${ECHO_CMD} ${EXAMPLESDIR:S,^${PREFIX}/,,}/${f} >>${TMPPLIST} .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk>