Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2022 09:33:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263935] devel/pcre2: enable compression support in pcre2grep
Message-ID:  <bug-263935-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263935

            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=3D233867&action=
=3Dedit
patch to enable compression support in pcre2grep

pcre2grep can automatically decompress gzip/bzip2-compressed files, but onl=
y if
 configure was run with the --enable-pcre2grep-libz and
--enable-pcre2grep-libbz2 options.  Doing so would add functionality and, s=
ince
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).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263935-7788>