telegram-cli: remove options
Closes #32116. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
5a40071871
commit
d9ed4328af
1 changed files with 5 additions and 10 deletions
|
@ -14,16 +14,12 @@ class TelegramCli < Formula
|
|||
sha256 "caabf1d19eb2b5b04560e9dc15583eb7dc3c0b0a733c732d73da09abf51dbbaf" => :el_capitan
|
||||
end
|
||||
|
||||
deprecated_option "with-python" => "with-python@2"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "readline"
|
||||
depends_on "jansson"
|
||||
depends_on "libconfig"
|
||||
depends_on "libevent"
|
||||
depends_on "openssl"
|
||||
depends_on "libconfig"
|
||||
depends_on "jansson"
|
||||
depends_on "lua" => :optional
|
||||
depends_on "python@2" => :optional
|
||||
depends_on "readline"
|
||||
|
||||
# Look for the configuration file under /usr/local/etc rather than /etc on OS X.
|
||||
# Pull Request: https://github.com/vysheng/tg/pull/1306
|
||||
|
@ -38,11 +34,10 @@ class TelegramCli < Formula
|
|||
CFLAGS=-I#{Formula["readline"].include}
|
||||
CPPFLAGS=-I#{Formula["readline"].include}
|
||||
LDFLAGS=-L#{Formula["readline"].lib}
|
||||
--disable-liblua
|
||||
--disable-python
|
||||
]
|
||||
|
||||
args << "--disable-liblua" if build.without? "lua"
|
||||
args << "--disable-python" if build.without? "python@2"
|
||||
|
||||
system "./configure", *args
|
||||
system "make"
|
||||
|
||||
|
|
Loading…
Reference in a new issue