Exim 4.97 build apparently depends on perl5 being present at build time, for exigrep. The port makefile declares only a run dependency, so unless EMBEDDED_PERL is set (which brings in perl as a build dependency too), it fails at that point: ./macro_predef > macro.c >>> exicyclog script built >>> exinext script built >>> exiwhat script built /bin/sh: ./exigrep: not found *** Error code 127
In addition, it looks like p5-File-FcntlLock is also required at build time even if EMBEDDED_PERL is off.
Created attachment 246794 [details] exim_always_depend_on_perl5 I can confirm this issue here and suggest attached patch. IMHO no bump necessary, no change with default options and build with disabled EMBEDDED_PERL was broken...
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e934381a66de7bda4e95ee61af8312fec2813a8 commit 0e934381a66de7bda4e95ee61af8312fec2813a8 Author: Felix Palmen <zirias@FreeBSD.org> AuthorDate: 2024-01-02 12:03:42 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2024-01-02 12:06:31 +0000 mail/exim: build breaks if EMBEDDED_PERL is unset - build depends on perl5 present, for exigrep PR: 275023 Reported-by: Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk> Submitted-by: zirias Approved-by: fluffy (implicit) Author: Felix Palmen <zirias@FreeBSD.org> mail/exim/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)