git: a4dc07b5ab23 - main - mail/cyrus-imapd23: ignore build with llvm 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Jun 2023 15:35:44 UTC
The branch main has been updated by ume:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a4dc07b5ab2376a35419712f2c9e359621bdd328
commit a4dc07b5ab2376a35419712f2c9e359621bdd328
Author: Hajimu UMEMOTO <ume@FreeBSD.org>
AuthorDate: 2023-06-25 15:35:22 +0000
Commit: Hajimu UMEMOTO <ume@FreeBSD.org>
CommitDate: 2023-06-25 15:35:22 +0000
mail/cyrus-imapd23: ignore build with llvm 16
---
mail/cyrus-imapd23/Makefile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile
index 84fcab96d093..93be4d56baf0 100644
--- a/mail/cyrus-imapd23/Makefile
+++ b/mail/cyrus-imapd23/Makefile
@@ -19,7 +19,7 @@ CONFLICTS_INSTALL= cyrus-imapd2? cyrus-imapd3? cyrus-imapd3?-http
USE_RC_SUBR= imapd
-USES= cpe perl5 ssl
+USES= compiler cpe perl5 ssl
GNU_CONFIGURE= yes
CYRUS_PREFIX= ${PREFIX}/cyrus
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
@@ -132,6 +132,12 @@ BDB_LIB_NAME= no
CONFIGURE_ARGS+=--disable-gssapi
.endif
+.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
+IGNORE= does not build with llvm 16
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
-e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \
@@ -182,4 +188,4 @@ post-install-EXAMPLES-on:
@${ECHO_CMD} ${EXAMPLESDIR:S,^${PREFIX}/,,}/${f} >>${TMPPLIST}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>