It seems the heavy boost dependency is not used or required when PCRE2 is present as that is the preferred regular expression library per the project.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=630de6ebabebcf1286078ec99c6ec81742f09284 commit 630de6ebabebcf1286078ec99c6ec81742f09284 Author: Ashish SHUKLA <ashish@FreeBSD.org> AuthorDate: 2023-12-20 17:19:38 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2023-12-20 17:24:23 +0000 textproc/ugrep: Update to 4.4.1 - Remove upstreamed patch - Remove dependency on boost-regex, unsupported, and not needed when PCRE2 in use [1] PR: 275837 [1] Reported by: Mohamed Akram <mohd dot akram at outlook dot com> [1] textproc/ugrep/Makefile | 8 +++----- textproc/ugrep/distinfo | 6 +++--- textproc/ugrep/files/patch-Makefile.in (gone) | 25 ------------------------- 3 files changed, 6 insertions(+), 33 deletions(-)
Thanks for the report. A fix is committed.