Mk/uses/ NCURSESINC is broken?

Gleb Popov 6yearold at
Wed Feb 14 15:41:03 UTC 2018

This PR [1] brought my attention to the following problem with

The value of NCURSESINC can't be used as a value to -I compiler flag,
because in case of ports ncurses it is set to /usr/local/include/ncurses.
At the same time, /usr/local/include/ncurses/ncurses.h header includes
other headers in this way: #include <ncurses/ncurses_dll.h> This implies
that -I/usr/local/include should be passed to the compiler, not
-I/usr/local/include/ncurses. Is it a bug, or I'm just missing something?


More information about the freebsd-ports mailing list