From 0d78c18331efed4c504416250afaeb16d09ea35b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 21 Jan 2019 16:50:29 +0000 Subject: [PATCH] groonga: remove options. See https://github.com/Homebrew/homebrew-core/issues/31510. Closes #36229. Signed-off-by: FX Coudert --- Formula/groonga.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Formula/groonga.rb b/Formula/groonga.rb index c672fae484..a97cb6c7f5 100644 --- a/Formula/groonga.rb +++ b/Formula/groonga.rb @@ -19,11 +19,11 @@ class Groonga < Formula end depends_on "pkg-config" => :build + depends_on "mecab" + depends_on "mecab-ipadic" depends_on "msgpack" depends_on "openssl" depends_on "pcre" - depends_on "mecab" => :optional - depends_on "mecab-ipadic" if build.with? "mecab" link_overwrite "lib/groonga/plugins/normalizers/" link_overwrite "share/doc/groonga-normalizer-mysql/" @@ -42,10 +42,9 @@ class Groonga < Formula --with-ssl --with-zlib --without-libstemmer + --with-mecab ] - args << "--with-mecab" if build.with? "mecab" - if build.head? args << "--with-ruby" system "./autogen.sh"