weechat: link against Homebrew ncurses

The current system ncurses library (ncurses 5.4.0 on Mojave 10.14.2) is
a little old and some WeeChat features aren't supported (in this case
*italics*). Depending on ncurses supplied by Homebrew (6.0.0) fixes the
current issue and will avoid any similar incompatibilities in the
future.

Relevant discourse discussion:
https://discourse.brew.sh/t/link-weechat-against-homebrew-ncurses-v6/3702/2

Closes #35413.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Achilleas Koutsou 2018-12-24 15:41:54 +02:00 committed by Chongyu Zhu
parent 4e3e63c3b9
commit e02eacf4f4
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -3,6 +3,7 @@ class Weechat < Formula
homepage "https://www.weechat.org"
url "https://weechat.org/files/src/weechat-2.3.tar.xz"
sha256 "ef8654313bfb0ca92e27cf579efb2d9b17e53505e615bf3d71a51aef44e56a5f"
revision 1
head "https://github.com/weechat/weechat.git"
bottle do
@ -21,6 +22,7 @@ class Weechat < Formula
depends_on "gettext"
depends_on "gnutls"
depends_on "libgcrypt"
depends_on "ncurses"
depends_on "aspell" => :optional
depends_on "curl" => :optional
depends_on "lua" => :optional