From 9179d5d960a77e168ee806d79a40d7fa12112fb7 Mon Sep 17 00:00:00 2001 From: Ray Chason Date: Mon, 17 Aug 2026 17:39:34 -0400 Subject: [PATCH] Adjustments for MacOS compile per comments by Michael Allison --- sys/unix/NewInstall.unx | 3 +++ sys/unix/hints/macOS.500 | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/unix/NewInstall.unx b/sys/unix/NewInstall.unx index 9ced987c1..538b18497 100644 --- a/sys/unix/NewInstall.unx +++ b/sys/unix/NewInstall.unx @@ -98,6 +98,9 @@ additional interfaces. See below. | | | | | | | | | One possible way: | | | | | brew install xquartz | +| | | | brew install libxft | +| | | | brew install fontconfig | +| | | | brew install freetype | |----------+-------+-----------------+--------------------------------------| | MacOS | Qt | WANT_WIN_QT | You will need to obtain and | | | | | install Qt if you want Qt | diff --git a/sys/unix/hints/macOS.500 b/sys/unix/hints/macOS.500 index 06646dab0..97d82388a 100755 --- a/sys/unix/hints/macOS.500 +++ b/sys/unix/hints/macOS.500 @@ -290,8 +290,8 @@ X11CFLAGS = -I/opt/X11/include X11CFLAGS += -Wno-variadic-macros ifdef USE_XFT CFLAGS += -DUSE_XFT -X11CFLAGS += $(shell pkg-config --cflags xft fontconfig) -WINX11LIB += $(shell pkg-config --libs xft fontconfig) +X11CFLAGS += $(shell pkg-config --cflags xft fontconfig freetype2) +WINX11LIB += $(shell pkg-config --libs xft fontconfig freetype2) endif ifdef USE_XPM CFLAGS += -DUSE_XPM