[Bug 266578] x11-wm/i3: Depend on pcre2 instead of pcre to fix the build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Sep 2022 09:53:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266578

            Bug ID: 266578
           Summary: x11-wm/i3: Depend on pcre2 instead of pcre to fix the
                    build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt@FreeBSD.org
          Reporter: fk@fabiankeil.de
             Flags: maintainer-feedback?(bapt@FreeBSD.org)
          Assignee: bapt@FreeBSD.org

Created attachment 236786
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236786&action=edit
x11-wm/i3: Depend on pcre2 instead of pcre

After cherry-picking e90fac723d0 ("x11-wm/i3: update to 4.21") the build
in poudriere fails for me on an ElectroBSD system based on stable/13:

    Run-time dependency libpcre2-8 found: NO (tried pkgconfig)

    meson.build:319:0: ERROR: Dependency "libpcre2-8" not found, tried
pkgconfig

The i3 4.21 release notes contain the item:

   • i3 switched from the obsolete PCRE 8.x regular expression matching
     library to the current PCRE2 10.x version.

which seems to explain the problem.

The attached patch seems to fix it.

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