From 60de22761568ce248403b5941aa075163fd8ab36 Mon Sep 17 00:00:00 2001 From: Patric Mueller Date: Wed, 6 May 2026 09:58:00 +0200 Subject: [PATCH] fix ncurses build on macOS with Homebrew --- sys/unix/hints/macOS.500 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/unix/hints/macOS.500 b/sys/unix/hints/macOS.500 index 2a400d1a3..9054461b7 100755 --- a/sys/unix/hints/macOS.500 +++ b/sys/unix/hints/macOS.500 @@ -176,8 +176,8 @@ HAVE_HOMEBREW_NCURSES := $(shell expr `brew ls --versions ncurses > /dev/null; e ifeq "$(HAVE_HOMEBREW_NCURSES)" "1" # Newer versions of ncurses are commonly installed via homebrew, but intentionally unlinked. HOMEBREW_LFLAGS := -L$(shell brew --prefix)/opt/ncurses/lib -HOMEBREW_WINLIB := -I$(shell brew --prefix)/opt/ncurses/include -HOMEBREW_CFLAGS = +HOMEBREW_WINLIB := +HOMEBREW_CFLAGS = -I$(shell brew --prefix)/opt/ncurses/include endif #HAVE_HOMEBREW_NCURSES endif #HAVE_HOMEBREW ifeq "$(HAVE_MACPORTS)" "1"