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
parent
a0cf7edcba
commit
72d25bb2c1
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue