diff options
| author | Adam Vandenberg | 2011-01-22 09:21:44 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-01-22 09:21:44 -0800 |
| commit | 01018254e2b78f2ded31e5fb36812043435ab524 (patch) | |
| tree | 4db2e3e363786a780565740a8335d97be97d6689 /Library/Formula | |
| parent | c6c2cc393be6cdcb099491a3dd8ff4ad99ec521b (diff) | |
| download | homebrew-01018254e2b78f2ded31e5fb36812043435ab524.tar.bz2 | |
ree - explicitly locate readline
Fixes #2579
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ruby-enterprise-edition.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/ruby-enterprise-edition.rb b/Library/Formula/ruby-enterprise-edition.rb index d8534cc73..09043e656 100644 --- a/Library/Formula/ruby-enterprise-edition.rb +++ b/Library/Formula/ruby-enterprise-edition.rb @@ -14,9 +14,13 @@ class RubyEnterpriseEdition <Formula end def install + readline = Formula.factory('readline').prefix + fails_with_llvm "fails with LLVM" args = ['./installer', "--auto", prefix, '--no-tcmalloc'] args << '-c' << '--enable-shared' if ARGV.include? '--enable-shared' + # Configure will complain that this is an unknown option, but it is actually OK + args << '-c' << "--with-readline-dir=#{readline}" system *args end |
