[Bug 263935] devel/pcre2: enable compression support in pcre2grep

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 May 2022 09:33:42 UTC

            Bug ID: 263935
           Summary: devel/pcre2: enable compression support in pcre2grep
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: krion@FreeBSD.org
          Reporter: drs-freebsd@sieborger.nom.za
          Assignee: krion@FreeBSD.org
             Flags: maintainer-feedback?(krion@FreeBSD.org)

Created attachment 233867
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233867&action=edit
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

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

You are receiving this mail because:
You are the assignee for the bug.