diff options
-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> |