weechat: depend on asciidoctor at build time

so that the man pages are installed.

Closes #27564.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Alyssa Ross 2018-05-07 14:12:08 +00:00 committed by ilovezfs
parent 32fbbe3a87
commit 24fed08e1d

View file

@ -19,6 +19,7 @@ class Weechat < Formula
deprecated_option "with-python" => "with-python@2" deprecated_option "with-python" => "with-python@2"
depends_on "asciidoctor" => :build
depends_on "cmake" => :build depends_on "cmake" => :build
depends_on "pkg-config" => :build depends_on "pkg-config" => :build
depends_on "gnutls" depends_on "gnutls"
@ -33,6 +34,7 @@ class Weechat < Formula
def install def install
args = std_cmake_args + %W[ args = std_cmake_args + %W[
-DENABLE_MAN=ON
-DENABLE_GUILE=OFF -DENABLE_GUILE=OFF
-DCA_FILE=#{etc}/openssl/cert.pem -DCA_FILE=#{etc}/openssl/cert.pem
-DENABLE_JAVASCRIPT=OFF -DENABLE_JAVASCRIPT=OFF