[Midnightbsd-cvs] [MidnightBSD/mports] 57d92e: print/qt6-pdf: Fix build error with ft2build.h not...
Lucas Holt
noreply at github.com
Fri May 29 11:44:26 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 57d92e864769a907d39e2508a9545b5d76476a67
https://github.com/MidnightBSD/mports/commit/57d92e864769a907d39e2508a9545b5d76476a67
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
M www/qt6-webengine/Makefile
Log Message:
-----------
print/qt6-pdf: Fix build error with ft2build.h not found (#597)
Fixes the build failure for print/qt6-pdf on MidnightBSD due to a
missing FreeType include path in CXXFLAGS.
When BUILD_QTPDF is defined, the parent port Makefile
(www/qt6-webengine) unbundles freetype. However, the FreeType include
directory (-I${LOCALBASE}/include/freetype2) was not being added to
CXXFLAGS, resulting in a compilation error:
```
fx_freetype.h:10:10: fatal error: 'ft2build.h' file not found
```
Adding this path to CXXFLAGS solves the problem without affecting the
master port build.
AI-Assisted-by: Antigravity <antigravity-cli at google.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list