Created attachment 233867 [details] patch to enable compression support in pcre2grep pcre2grep can automatically decompress gzip/bzip2-compressed files, but only if configure was run with the --enable-pcre2grep-libz and --enable-pcre2grep-libbz2 options. Doing so would add functionality and, since libz and libbz2 are already in base, would not add any dependencies to the port. I've attached a trivial patch to add those options to CONFIGURE_ARGS. I've tested and it's working for me on 12.3-RELEASE and 13.0-RELEASE. All of the above applies to pcregrep in devel/pcre, too, except that the options in question are --enable-pcregrep-libz and --enable-pcregrep-libbz2 (obviously).
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7de2d9ab3d9a54300b874077cf96f57912247b64 commit 7de2d9ab3d9a54300b874077cf96f57912247b64 Author: Kirill Ponomarev <krion@FreeBSD.org> AuthorDate: 2022-05-12 18:20:07 +0000 Commit: Kirill Ponomarev <krion@FreeBSD.org> CommitDate: 2022-05-12 18:20:07 +0000 devel/pcre2: enable compression support for pcre2grep PR: 263935 Reported by: David Siebörger <drs-freebsd@sieborger__dot__nom__dot__za> devel/pcre2/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)