maintainer-feedback requested: [Bug 293980] print/harfbuzz: fails to build due to missing dependency

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 Mar 2026 16:54:02 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 293980: print/harfbuzz: fails to build due to missing dependency
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293980



--- Description ---
Attached patch seems to solve the issue.

Excerpt from poudriere build log:

=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for harfbuzz-13.1.1
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using
both is redundant since they override each other. See:
https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.7.0
Source dir: /wrkdirs/usr/ports/print/harfbuzz/work/harfbuzz-13.1.1
Build dir: /wrkdirs/usr/ports/print/harfbuzz/work/harfbuzz-13.1.1/_build
Build type: native build
Project name: harfbuzz
Project version: 13.1.1
C compiler for the host machine: cc (clang 19.1.7 "FreeBSD clang version 19.1.7
(https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)")
C linker for the host machine: cc ld.lld 19.1.7
C++ compiler for the host machine: c++ (clang 19.1.7 "FreeBSD clang version
19.1.7 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.7-0-gcd708029e0b2)")
C++ linker for the host machine: c++ ld.lld 19.1.7
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports link arguments -Bsymbolic-functions: YES 
Compiler for C++ supports arguments -fno-exceptions: YES 
Compiler for C++ supports arguments -fno-rtti: YES 
Compiler for C++ supports arguments -fno-threadsafe-statics: YES 
Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES 
Library m found: YES
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.4.3
Run-time dependency freetype2 found: YES 26.5.20
Run-time dependency glib-2.0 found: YES 2.84.4
Run-time dependency gobject-2.0 found: YES 2.84.4
Run-time dependency graphite2 found: YES 3.0.1
Dependency graphite2 skipped: feature graphite disabled
Library iwasm skipped: feature wasm disabled
Dependency icu-uc skipped: feature icu disabled
Dependency chafa skipped: feature chafa disabled
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libpng found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency libpng because:
Use of fallback dependencies is disabled.

meson.build:162:10: ERROR: Dependency 'libpng' is required but not found.

A full log can be found at
/wrkdirs/usr/ports/print/harfbuzz/work/harfbuzz-13.1.1/_build/meson-logs/meson-
log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup
[options]` is ambiguous and deprecated.
===>  Script "configure" failed unexpectedly.