aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mecab-unidic.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/mecab-unidic.rb b/Library/Formula/mecab-unidic.rb
index 7993666c9..89506480c 100644
--- a/Library/Formula/mecab-unidic.rb
+++ b/Library/Formula/mecab-unidic.rb
@@ -13,14 +13,9 @@ class MecabUnidic < Formula
system "make", "install"
end
-
def caveats; <<-EOS.undent
If you want to use UniDic, please rewrite "dicdir".
- #{mecab_dicdir}/etc/mecabrc
+ #{Formula.factory('mecab').opt_prefix}/etc/mecabrc
EOS
end
-
- def mecab_dicdir
- `mecab-config --prefix`.chomp!
- end
end