On Mon, 16 Nov 2026 22:15:40 +0200
Timo Myyrä <[email protected]> wrote:
> + -DCMAKE_C_FLAGS="${CFLAGS}
> -I${X11BASE}/include" \
> + -DCMAKE_CXX_FLAGS="${CXXFLAGS} -I.
> -I${LOCALBASE}/include"
> -CFLAGS += -I${X11BASE}/include
> -CXXFLAGS += -I. -I${LOCALBASE}/include
I'm not sure if this recommendation is really agreed upon. Many ports
set CFLAGS or CXXFLAGS like gzdoom has been doing. Modifications for
them are listed in Makefile.template, and bsd.port.mk(5) contains no
warning about them as in the email that led to this change.
Happy to hear others chime in, but modifying these flags has long been
a standard and easy way to fix these common issues with missing include
directories...