Bug 275837 - textproc/ugrep: drop dependency on boost
Summary: textproc/ugrep: drop dependency on boost
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-19 11:27 UTC by Mohamed Akram
Modified: 2023-12-20 17:28 UTC (History)
0 users

See Also:
ashish: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohamed Akram 2023-12-19 11:27:34 UTC
It seems the heavy boost dependency is not used or required when PCRE2 is present as that is the preferred regular expression library per the project.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-12-20 17:28:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=630de6ebabebcf1286078ec99c6ec81742f09284

commit 630de6ebabebcf1286078ec99c6ec81742f09284
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2023-12-20 17:19:38 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2023-12-20 17:24:23 +0000

    textproc/ugrep: Update to 4.4.1

    - Remove upstreamed patch
    - Remove dependency on boost-regex, unsupported, and not needed when PCRE2
      in use [1]

    PR:             275837 [1]
    Reported by:    Mohamed Akram <mohd dot akram at outlook dot com> [1]

 textproc/ugrep/Makefile                       |  8 +++-----
 textproc/ugrep/distinfo                       |  6 +++---
 textproc/ugrep/files/patch-Makefile.in (gone) | 25 -------------------------
 3 files changed, 6 insertions(+), 33 deletions(-)
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2023-12-20 17:28:58 UTC
Thanks for the report. A fix is committed.