diff options
| author | Jack Nagel | 2012-11-09 19:55:57 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-11-10 20:07:32 -0600 |
| commit | adee5315265cc46aa6a3057071527abb16e1cd94 (patch) | |
| tree | 80ea4344411d9a1526e1f72d8a86f71a6e5dbccd /Library/Formula/python.rb | |
| parent | f165096ba5ca617a9293d8b60282a75065b5935e (diff) | |
| download | homebrew-adee5315265cc46aa6a3057071527abb16e1cd94.tar.bz2 | |
Rename readline to gnu-readline
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.
The implications of this are:
- Anything that depends on readline will reinstall it as
"gnu-readline". Anything already installed will continue to function.
- "brew upgrade readline" will say "gnu-readline not installed", as
"readline" is now an alias.
- Probably other things.
So there are some downsides, but we will just have to deal with them.
Fixes #15776.
Diffstat (limited to 'Library/Formula/python.rb')
| -rw-r--r-- | Library/Formula/python.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index ec19c610a..47ba43e42 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -32,7 +32,7 @@ class Python < Formula depends_on TkCheck.new depends_on 'pkg-config' => :build - depends_on 'readline' => :recommended + depends_on 'gnu-readline' => :recommended depends_on 'sqlite' => :recommended depends_on 'gdbm' => :recommended depends_on 'openssl' if build.include? 'with-brewed-openssl' @@ -205,7 +205,7 @@ class Python < Formula # superenv handles that cc finds includes/libs! inreplace "setup.py", "do_readline = self.compiler.find_library_file(lib_dirs, 'readline')", - "do_readline = '#{HOMEBREW_PREFIX}/opt/readline/lib/libhistory.dylib'" + "do_readline = '#{HOMEBREW_PREFIX}/opt/gnu-readline/lib/libhistory.dylib'" end end |
