Bug 254697

Summary: devel/re2: Update to 20210401 and switch to CMake
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: diizzy
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/google/re2/compare/2021-02-02...2021-04-01
Description Flags
Patch for re2 none

Description Daniel Engberg freebsd_committer 2021-04-01 17:10:33 UTC
Created attachment 223752 [details]
Patch for re2

Update to 20210401 and swtich to CMake
Reduce patch

Compile tested on FreeBSD 13.0-RC1 (aarch64) (make, make check-plist)
Poudriere testport OK 12.2-RELEASE (amd64)
Poudriere testport OK 11.4-RELEASE (amd64)
Comment 1 Daniel Engberg freebsd_committer 2021-04-01 17:16:45 UTC
Reduces compilation time (Cmake build also excludes unit tests)
====> Compressing man pages (compress-man)
        34.37s real             2m38.72s user           6.01s sys

====> Compressing man pages (compress-man)
        1m2.28s real            5m27.19s user           10.08s sys

CMake files are also required by some upstream projects which may be of interest.
Comment 2 Daniel Engberg freebsd_committer 2021-04-01 23:44:43 UTC
I forgot to mention, the hardware used for testing is a RockPro64 SBC.
Comment 3 Po-Chuan Hsieh freebsd_committer 2021-06-20 20:39:51 UTC
(In reply to Daniel Engberg from comment #1)

grpc builds fine with current re2.

(In reply to Daniel Engberg from comment #0)

re2 is fine now. I do not want to maintain unnececessary extra local patch.