rogue: remove ncurses_define, set flag directly

This prepares the deprecation of the ncurses_define from brew.

Closes #69765.

Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michka Popoff 2021-01-26 08:16:57 +01:00 committed by BrewTestBot
parent a0cf7edcba
commit 72d25bb2c1
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ class Rogue < Formula
end
def install
ENV.ncurses_define
# Fix main.c:241:11: error: incomplete definition of type 'struct _win_st'
ENV.append "CPPFLAGS", "-DNCURSES_OPAQUE=0"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"