aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnuplot.rb
diff options
context:
space:
mode:
authorJack Nagel2012-11-09 19:55:57 -0600
committerJack Nagel2012-11-10 20:07:32 -0600
commitadee5315265cc46aa6a3057071527abb16e1cd94 (patch)
tree80ea4344411d9a1526e1f72d8a86f71a6e5dbccd /Library/Formula/gnuplot.rb
parentf165096ba5ca617a9293d8b60282a75065b5935e (diff)
downloadhomebrew-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/gnuplot.rb')
-rw-r--r--Library/Formula/gnuplot.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
index 4910fc52a..2706cc374 100644
--- a/Library/Formula/gnuplot.rb
+++ b/Library/Formula/gnuplot.rb
@@ -23,7 +23,7 @@ class Gnuplot < Formula
end
depends_on 'pkg-config' => :build
- depends_on 'readline'
+ depends_on 'gnu-readline'
depends_on 'pango' if build.include? 'cairo' or build.include? 'wx'
depends_on :x11 if build.include? 'with-x' or MacOS::X11.installed?
depends_on 'pdflib-lite' if build.include? 'pdf'
@@ -34,7 +34,7 @@ class Gnuplot < Formula
def install
# Help configure find libraries
- readline = Formula.factory 'readline'
+ readline = Formula.factory 'gnu-readline'
pdflib = Formula.factory 'pdflib-lite'
gd = Formula.factory 'gd'