git: fa4386ac7a44 - main - mail/cyrus-imapd34: Mark IGNORE when build with Perl 5.36
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Jun 2022 14:30:32 UTC
The branch main has been updated by ume:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fa4386ac7a44bd35f81df851903cc66e6b86c616
commit fa4386ac7a44bd35f81df851903cc66e6b86c616
Author: Hajimu UMEMOTO <ume@FreeBSD.org>
AuthorDate: 2022-06-05 14:28:28 +0000
Commit: Hajimu UMEMOTO <ume@FreeBSD.org>
CommitDate: 2022-06-05 14:30:18 +0000
mail/cyrus-imapd34: Mark IGNORE when build with Perl 5.36
PR: 264447
---
mail/cyrus-imapd34/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/mail/cyrus-imapd34/Makefile b/mail/cyrus-imapd34/Makefile
index 21ae2fd10255..0f47b85be375 100644
--- a/mail/cyrus-imapd34/Makefile
+++ b/mail/cyrus-imapd34/Makefile
@@ -195,6 +195,12 @@ PLIST_SUB+= SQUATTER=""
PLIST_SUB+= SQUATTER="@comment "
.endif
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 503600
+IGNORE= Cannot build with Perl 3.36
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
-e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \
@@ -249,4 +255,4 @@ post-install-DOCS-on:
"! ( -path */html/_sources* -o -name .buildinfo )"
${RM} -r ${STAGEDIR}${DOCSDIR}/rst ${STAGEDIR}${DOCSDIR}/source
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>