Among other things, this fixes build with Perl 5.36.
Created attachment 244042 [details] Proposed patch
Testing locally...
Created attachment 244251 [details] Modified patch for update PORTREVISION should be reset in clamd plugin as well, added in my patch. Other than that, my patch is basically the same as the original one.
Locally, in my Makefile, I have LDAP_USE= OPENLDAP=yes instead of LDAP_USES= ldap I do not use LDAP option, so I did not test it, I don't know which one is more correct, actually. Just a note.
(In reply to bsd from comment #4) The latter ({OPTION}_USES= ldap) is actually preferred.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=01c420e177547c1d3711df6351eb071d0072271a commit 01c420e177547c1d3711df6351eb071d0072271a Author: Xin LI <delphij@FreeBSD.org> AuthorDate: 2023-08-12 23:42:58 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2023-08-22 05:44:26 +0000 mail/claws-mail: upgrade to 3.19.1 and 4.1.1. PR: ports/273090 Approved by: maintainer mail/claws-mail-clamd/Makefile | 1 - mail/claws-mail-pdf_viewer/Makefile | 1 - mail/claws-mail/Makefile | 1 - mail/claws-mail/Makefile.claws | 4 ---- mail/claws-mail/Makefile.ver | 4 ++-- mail/claws-mail/distinfo | 11 +++++------ mail/claws-mail/files/extra-patch-configure.ac (gone) | 11 ----------- 7 files changed, 7 insertions(+), 26 deletions(-)