Due to inconsistencies regarding linking between Linux and FreeBSD graphite pulls in more libraries than it should causing "pollution" of users such as harfbuzz. Discussion: https://github.com/harfbuzz/harfbuzz/issues/2614 https://github.com/harfbuzz/harfbuzz/issues/2614#issuecomment-667649830 (Potential fix) Reported to upstream here: https://github.com/silnrsi/graphite/issues/64
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=06d5cbc56974c830c2071f8edb2e9ce45853bb3d commit 06d5cbc56974c830c2071f8edb2e9ce45853bb3d Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-02-20 14:15:47 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-02-20 15:10:31 +0000 graphics/graphite2: Prevent overlinking library Avoid overlinking as it potentially cause issues with consumers This also fixes unit tests for harfbuzz PR: 248423 Approved by: portmgr (build fix and maintainer timeout, 2+ years) graphics/graphite2/Makefile | 1 + 1 file changed, 1 insertion(+)