[Bug 251642] devel/pcre2: Update to 10.36 , switch to CMake and minor Makefile cleanups

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 6 14:43:24 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251642

            Bug ID: 251642
           Summary: devel/pcre2: Update to 10.36 , switch to CMake and
                    minor Makefile cleanups
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://vcs.pcre.org/pcre2/code/trunk/NEWS?revision=12
                    87&view=markup
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: krion at FreeBSD.org
          Reporter: daniel.engberg.lists at pyret.net
             Flags: maintainer-feedback?(krion at FreeBSD.org)
          Assignee: krion at FreeBSD.org

Created attachment 220313
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=220313&action=edit
Patch for pcre2

* Update pcre2 to 10.36
* Add main site as fallback in case sourceforge mirrors are unavailable
* Use DISTVERSION instead of PORTVERSION as per "Table 5.2. Package Naming
Examples" in porters handbook
* Switch to tar.bz2 archive, ~25% reduction in size
* Switch to CMake, significantly reduces compilation time [1]
* Add "hidden" option to set MATCH_LIMIT_DEPTH
* Define _USES before ARGS for consistency

References:
[1] Tested on 13-CURRENT (amd64), Intel i7-3770k
Autotools: 
====> Compressing man pages (compress-man)
        1m0.95s real            2m31.33s user           6.26s sys

CMake:
====> Compressing man pages (compress-man)
        31.00s real             1m7.34s user            1.95s sys

Compile tested on FreeBSD 13.0-CURRENT #0 r367711 (amd64) (make, make
check-plist, make test)
Poudriere testport OK 12.2-RELEASE (amd64) (with and without (lib)readline
Poudriere testport OK 11.4-RELEASE (amd64) (with and without (lib)readline

Additional notes: This change doesn't install static lib(s) by default, I can't
find any port that makes use of it in the tree.

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


More information about the freebsd-ports-bugs mailing list