From acb77e71f9060267d0e6b687d56e1076c4d9c772 Mon Sep 17 00:00:00 2001 From: Michka Popoff Date: Tue, 26 Jan 2021 19:09:08 +0100 Subject: [PATCH] ENV.shared: deprecate ncurses_define This was only used by 2 formuale in homebrew-core. One formula did not need the flag anymore and the flag was removed The other formula (rogue) still needs it, the flag was directly added to the formula. There is no reason for us to keep this method. --- Library/Homebrew/extend/ENV/shared.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index ca6ad76f11..59310bec66 100644 --- a/Library/Homebrew/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/ENV/shared.rb @@ -241,6 +241,8 @@ module SharedEnvExtension # Currently only used by aalib in core. sig { void } def ncurses_define + # odeprecated "ENV.ncurses_define" + append "CPPFLAGS", "-DNCURSES_OPAQUE=0" end