diff options
| author | Colin Hebert | 2011-07-28 00:09:25 +0100 | 
|---|---|---|
| committer | Adam Vandenberg | 2011-07-29 08:09:34 -0700 | 
| commit | cf5d2a5635aa413b7eb0f70a4d512e1c55b005ad (patch) | |
| tree | 1f699f8ad1fad2a8549939ea15f9e72ffdf7e907 /Library/Formula/aspell.rb | |
| parent | 92fac5c1f1b229c6c4497c47077507b05f78b139 (diff) | |
| download | homebrew-cf5d2a5635aa413b7eb0f70a4d512e1c55b005ad.tar.bz2 | |
Aspell: Fix broken languages
The binary 'aspell' is required by some languages during configuration, so the path is also set before calling "./configure"
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/aspell.rb')
| -rw-r--r-- | Library/Formula/aspell.rb | 11 | 
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Formula/aspell.rb b/Library/Formula/aspell.rb index d133a9957..63ade9faa 100644 --- a/Library/Formula/aspell.rb +++ b/Library/Formula/aspell.rb @@ -3,7 +3,7 @@ require 'formula'  class AspellLang < Formula    def install      aspell = Formula.factory 'aspell' -    system "./configure --vars ASPELL=#{aspell.prefix}/bin/aspell PREZIP=#{aspell.prefix}/bin/prezip" +    system "PATH=$PATH:#{aspell.prefix}/bin; ./configure --vars ASPELL=#{aspell.prefix}/bin/aspell PREZIP=#{aspell.prefix}/bin/prezip"      system "PATH=$PATH:#{aspell.prefix}/bin; make install"    end  end @@ -28,7 +28,7 @@ class Aspell < Formula      languages = []      if ARGV.include?('--all') -      languages << available_languages.to_a - broken_dictionaries.to_a +      languages << available_languages.to_a      else        ARGV.options_only.select { |v| v =~ /--lang=/ }.uniq.each do |opt|          languages << opt.split('=')[1].split(',') @@ -53,17 +53,10 @@ class Aspell < Formula      For the following languages aspell dictionaries are available:      #{available_languages.join(', ')} - -    The dictionaries for the following languages seem to be broken: -    #{broken_dictionaries.join(', ')}      EOS    end  end -def broken_dictionaries -  %w( br cy el fr gv nl tr wa) -end -  # BEGIN generated with brew-aspell-dictionaries  class Aspell_af <AspellLang    url 'http://ftp.gnu.org/gnu/aspell/dict/af/aspell-af-0.50-0.tar.bz2'  | 
