[Groonga-mysql-commit] mroonga/homebrew at 8eb9578 [master] Use '--with-mecab' instead of '--use-homebrew-mecab'

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Feb 17 22:40:54 JST 2014


HAYASHI Kentaro	2014-02-17 22:40:54 +0900 (Mon, 17 Feb 2014)

  New Revision: 8eb95789022daadbceaa21bcc28a49972bb322e6
  https://github.com/mroonga/homebrew/commit/8eb95789022daadbceaa21bcc28a49972bb322e6

  Message:
    Use '--with-mecab' instead of '--use-homebrew-mecab'
    
    Homebrew #26308 was merged but it was changed to meet Homebrew's style.
    So, I've changed formula to follow it.

  Modified files:
    mroonga.rb

  Modified: mroonga.rb (+3 -3)
===================================================================
--- mroonga.rb    2014-02-10 10:17:24 +0900 (e2fcbc4)
+++ mroonga.rb    2014-02-17 22:40:54 +0900 (92a1f8b)
@@ -10,8 +10,8 @@ class Mroonga < Formula
   depends_on 'pkg-config' => :build
   depends_on 'groonga-normalizer-mysql'
 
-  if ARGV.include?("--use-homebrew-mecab")
-    depends_on 'groonga' => '--use-homebrew-mecab'
+  if build.with?("mecab")
+    depends_on 'groonga' => '--with-mecab'
   else
     depends_on 'groonga'
   end
@@ -26,7 +26,7 @@ class Mroonga < Formula
     [
       ["--use-homebrew-mysql", "Use MySQL installed by Homebrew."],
       ["--use-homebrew-mariadb", "Use MariaDB installed by Homebrew. You can't use this option with --use-homebrew-mysql."],
-      ["--use-homebrew-mecab", "Use MeCab installed by Homebrew. You can use additional tokenizer - TokenMecab."],
+      ["--with-mecab", "Use MeCab installed by Homebrew. You can use additional tokenizer - TokenMecab. Note that you need to build Groonga with MeCab"],
       ["--with-mysql-source=PATH", "MySQL source directory. You can't use this option with --use-homebrew-mysql and --use-homebrew-mariadb"],
       ["--with-mysql-build=PATH", "MySQL build directory (default: guess from --with-mysql-source)"],
       ["--with-mysql-config=PATH", "mysql_config path (default: guess from --with-mysql-source)"],
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index