Skip to content

Instantly share code, notes, and snippets.

@vibrog
Created December 28, 2010 17:26
Show Gist options
  • Save vibrog/757433 to your computer and use it in GitHub Desktop.
Save vibrog/757433 to your computer and use it in GitHub Desktop.
Patch to Homebrew formula: Hunspell, enable use as stand-alone checker
diff --git a/Library/Formula/hunspell.rb b/Library/Formula/hunspell.rb
index e70854d..34f696b 100644
--- a/Library/Formula/hunspell.rb
+++ b/Library/Formula/hunspell.rb
@@ -5,8 +5,12 @@ class Hunspell <Formula
homepage 'http://hunspell.sourceforge.net/'
md5 '5ef2dc1026660d0ffb7eae7b511aee23'
+ depends_on 'readline'
+
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--with-ui", "--with-readline",
+ "--prefix=#{prefix}"
system "make"
ENV.deparallelize
system "make install"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment