From adee5315265cc46aa6a3057071527abb16e1cd94 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 9 Nov 2012 19:55:57 -0600 Subject: 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. --- Library/Formula/python3.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula/python3.rb') diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index 9f1b3f2cf..39a277762 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -24,7 +24,7 @@ class Python3 < 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' @@ -167,7 +167,7 @@ class Python3 < Formula # superenv makes cc always find 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 -- cgit v1.2.3