[Bug 290368] print/freetype2: fix freetype2.pc

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Oct 2025 17:44:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290368

            Bug ID: 290368
           Summary: print/freetype2: fix freetype2.pc
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: thierry@FreeBSD.org
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

Created attachment 264725
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264725&action=edit
fix freetype2.pc where bzip2.pc is missing

Since 2.14.1 (PR 289576), when a package has been built on a machine with
bzip2.pc, this package cannot be used on a machine without it:

$ pkg-config freetype2 --libs
Package bzip2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `bzip2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'bzip2', required by 'freetype2', not found

With the attached patch, the problem is solved:

$ pkg-config freetype2 --libs
-L/usr/local/lib -lfreetype

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