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

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

--- Comment #2 from Thierry Thomas <thierry@FreeBSD.org> ---
Try the same commands for FreeBSD-16:

$ fetch
"https://pkg.freebsd.org/FreeBSD:16:amd64/latest/All/freetype2-2.14.1.pkg" 
$ tar xvf freetype2-2.14.1.pkg
$ cat usr/local/libdata/pkgconfig/freetype2.pc

prefix=/usr/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: FreeType 2
URL: https://freetype.org
Description: A free, high-quality, and portable font engine.
Version: 26.4.20
Requires: 
Requires.private: zlib, bzip2, libpng, libbrotlidec
Libs: -L${libdir} -lfreetype
Libs.private: 
Cflags: -I${includedir}/freetype2

More precisely:
$ grep Requires.private usr/local/libdata/pkgconfig/freetype2.pc
Requires.private: zlib, bzip2, libpng, libbrotlidec

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