diff options
Diffstat (limited to 'japanese/ruby-mecab/files')
-rw-r--r-- | japanese/ruby-mecab/files/patch-extconf.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/japanese/ruby-mecab/files/patch-extconf.rb b/japanese/ruby-mecab/files/patch-extconf.rb new file mode 100644 index 000000000000..12da6565191b --- /dev/null +++ b/japanese/ruby-mecab/files/patch-extconf.rb @@ -0,0 +1,19 @@ +--- extconf.rb.orig Fri Dec 12 09:36:59 2003 ++++ extconf.rb Fri Dec 12 09:45:19 2003 +@@ -1,12 +1,12 @@ + require 'mkmf' + +-mecab_config = with_config ('mecab-config', 'mecab-config') ++mecab_config = with_config('mecab-config', 'mecab-config') + use_mecab_config = enable_config('mecab-config') + +-`mecab-config --libs-only-l`.chomp.split.each { | lib | +- have_library (lib) ++`#{mecab_config} --libs-only-l`.chomp.split.each{ | lib | ++ have_library(lib) + } + + $CFLAGS += ' ' + `#{mecab_config} --cflags`.chomp + +-have_header ('mecab.h') && create_makefile('MeCab') ++have_header('mecab.h') && create_makefile('MeCab') |