Skip to content

NetBSD: Fix build when ncurses package is installed. - #26

Merged
lcn2 merged 1 commit into
lcn2:masterfrom
SirWumpus:netbsd_ncurses
Jul 30, 2026
Merged

NetBSD: Fix build when ncurses package is installed.#26
lcn2 merged 1 commit into
lcn2:masterfrom
SirWumpus:netbsd_ncurses

Conversation

@SirWumpus

Copy link
Copy Markdown

Similar to lcn2/rogue5.4#51

Rogue does not detect Ncurses when it is installed as binary package and is located in another tree, such as /usr/pkg. FreeBSD is similarly, but uses /usr/local (which IMO is more correct, oh well). Either way, Rogue Makefile when testing for headers fails to include CPPFLAGS macros with -E, so anyone overriding macro (CPPFLAGS, LDFLAGS) from the make command line still would not detect NCurses or link correctly.

This change should address the header detection and clean NetBSD build with NCurses. FreeBSD is an exercise for the FreeBSD reader.

@lcn2 lcn2 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lcn2
lcn2 merged commit baa182e into lcn2:master Jul 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants