Created
December 28, 2010 17:26
-
-
Save vibrog/757433 to your computer and use it in GitHub Desktop.
Patch to Homebrew formula: Hunspell, enable use as stand-alone checker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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