diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2024-03-10 13:06:46 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2024-03-10 13:08:14 +0000 |
commit | cc395675449ce188bc3868e720d753ad603a2947 (patch) | |
tree | 64048cf4cdf2cbd742c0d69287ca590357a7f9e3 | |
parent | 29097c4038376ef650214eced9f1afd8a00eff85 (diff) | |
download | ports-cc395675449ce188bc3868e720d753ad603a2947.tar.gz ports-cc395675449ce188bc3868e720d753ad603a2947.zip |
mail/cyrus-imapd25: Make it buildable with db18 on recent FreeBSD.
-rw-r--r-- | mail/cyrus-imapd25/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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> |