maintainer-feedback requested: [Bug 290368] print/freetype2: fix freetype2.pc

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Oct 2025 17:44:01 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 290368: print/freetype2: fix freetype2.pc
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290368



--- Description ---
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