[Bug 261003] graphics/libjxl: pkg-config deps list nonexistent libhwy package

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 07 Jan 2022 14:52:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261003

            Bug ID: 261003
           Summary: graphics/libjxl: pkg-config deps list nonexistent
                    libhwy package
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: greg@unrelenting.technology
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@FreeBSD.org

Using libjxl via pkgconf currently results in:

  Error: `"pkg-config" "--libs" "--cflags" "libjxl" "libjxl >= 0.6.1"` did not
exit successfully: exit status: 1
  Package libhwy was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libhwy.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'libhwy', required by 'libjxl', not found


Looks like the local patch
https://github.com/freebsd/freebsd-ports/blob/e9e1512d396c65f606d752447f4bedcdddaa4080/graphics/libjxl/files/patch-private-libs
that made highway private to libjxl did not consider pkg-config.

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