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 | |
| 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')
53 files changed, 70 insertions, 70 deletions
diff --git a/Library/Formula/abook.rb b/Library/Formula/abook.rb index 0a599fd23..400f0c8e3 100644 --- a/Library/Formula/abook.rb +++ b/Library/Formula/abook.rb @@ -5,7 +5,7 @@ class Abook < Formula homepage 'http://abook.sourceforge.net/' sha1 '79f04f2264c8bd81bbc952b6560c86d69b21615d' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/asymptote.rb b/Library/Formula/asymptote.rb index a0d2f1911..f0031fd07 100644 --- a/Library/Formula/asymptote.rb +++ b/Library/Formula/asymptote.rb @@ -23,7 +23,7 @@ class Asymptote < Formula depends_on TexInstalled.new env :userpaths # To find TeX - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'bdw-gc' def install diff --git a/Library/Formula/augeas.rb b/Library/Formula/augeas.rb index 5f1b01fdd..44a59dd3d 100644 --- a/Library/Formula/augeas.rb +++ b/Library/Formula/augeas.rb @@ -5,7 +5,7 @@ class Augeas < Formula url 'http://augeas.net/download/augeas-0.10.0.tar.gz' sha1 '6d1d7b4572c05748d537f3ff12c5ac8ceb6b49bd' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/bash.rb b/Library/Formula/bash.rb index 24830f9a5..8488a08aa 100644 --- a/Library/Formula/bash.rb +++ b/Library/Formula/bash.rb @@ -7,7 +7,7 @@ class Bash < Formula sha256 'a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8' version '4.2.39' - depends_on 'readline' + depends_on 'gnu-readline' # Vendor the patches. The mirrors are unreliable for getting the patches, # and the more patches there are, the more unreliable they get. Upstream diff --git a/Library/Formula/cadaver.rb b/Library/Formula/cadaver.rb index 96786b913..8ab39cdb2 100644 --- a/Library/Formula/cadaver.rb +++ b/Library/Formula/cadaver.rb @@ -7,7 +7,7 @@ class Cadaver < Formula depends_on 'pkg-config' => :build depends_on 'gettext' - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'neon' def install diff --git a/Library/Formula/calc.rb b/Library/Formula/calc.rb index b6be7920d..07350f5e1 100644 --- a/Library/Formula/calc.rb +++ b/Library/Formula/calc.rb @@ -5,7 +5,7 @@ class Calc < Formula sha1 'cc55ee21ab7a7a6a8b7516a7236e87ae1b09d00d' homepage 'http://www.isthe.com/chongo/tech/comp/calc/' - depends_on 'readline' + depends_on 'gnu-readline' def install ENV.deparallelize @@ -13,7 +13,7 @@ class Calc < Formula ENV['EXTRA_CFLAGS'] = ENV.cflags ENV['EXTRA_LDFLAGS'] = ENV.ldflags - readline = Formula.factory('readline') + readline = Formula.factory('gnu-readline') inreplace "Makefile" do |s| s.change_make_var! "INCDIR", include s.change_make_var! "BINDIR", bin diff --git a/Library/Formula/cgdb.rb b/Library/Formula/cgdb.rb index b376adb74..74594d5e7 100644 --- a/Library/Formula/cgdb.rb +++ b/Library/Formula/cgdb.rb @@ -5,7 +5,7 @@ class Cgdb < Formula url 'http://downloads.sourceforge.net/project/cgdb/cgdb/cgdb-0.6.6/cgdb-0.6.6.tar.gz' sha1 'bf1d9a66909a03220438a4126bb39850bdbfea65' - depends_on 'readline' + depends_on 'gnu-readline' # man page for cgdb is only there to point people to the info page where all # of the actual documentation is, so skip cleaning the info to preserve the diff --git a/Library/Formula/clisp.rb b/Library/Formula/clisp.rb index c8a9b6b32..d2f2ff4d1 100644 --- a/Library/Formula/clisp.rb +++ b/Library/Formula/clisp.rb @@ -7,7 +7,7 @@ class Clisp < Formula sha1 '7e8d585ef8d0d6349ffe581d1ac08681e6e670d4' depends_on 'libsigsegv' - depends_on 'readline' + depends_on 'gnu-readline' # -Os causes the build to fail with C_CODE_ALIGNMENT is wrong # superenv doeesn't yet support changing the optimization level diff --git a/Library/Formula/devtodo.rb b/Library/Formula/devtodo.rb index d0e8c8cb3..a08f0d41e 100644 --- a/Library/Formula/devtodo.rb +++ b/Library/Formula/devtodo.rb @@ -5,7 +5,7 @@ class Devtodo < Formula url 'http://swapoff.org/files/devtodo/devtodo-0.1.20.tar.gz' sha1 '003067a12139d712dbb3706069e0950a93ecaaf4' - depends_on "readline" + depends_on "gnu-readline" # Fix invalid regex. See http://swapoff.org/ticket/54 # @adamv - this url not responding 3/17/2012 diff --git a/Library/Formula/drizzle.rb b/Library/Formula/drizzle.rb index 66322b5f4..1235f7c17 100644 --- a/Library/Formula/drizzle.rb +++ b/Library/Formula/drizzle.rb @@ -14,7 +14,7 @@ class Drizzle < Formula depends_on 'pcre' depends_on 'intltool' depends_on 'libgcrypt' - depends_on 'readline' + depends_on 'gnu-readline' def install diff --git a/Library/Formula/dwarf.rb b/Library/Formula/dwarf.rb index 98bd015bb..287fe02dc 100644 --- a/Library/Formula/dwarf.rb +++ b/Library/Formula/dwarf.rb @@ -7,7 +7,7 @@ class Dwarf < Formula head 'http://code.autistici.org/svn/dwarf/trunk' - depends_on 'readline' + depends_on 'gnu-readline' # There's a subtle error in C99 handling of stdint.h and inttypes.h. # Reported upstream: http://code.autistici.org/trac/dwarf/ticket/8 diff --git a/Library/Formula/ekg2.rb b/Library/Formula/ekg2.rb index 2ec7dbaf1..fd41f0d59 100644 --- a/Library/Formula/ekg2.rb +++ b/Library/Formula/ekg2.rb @@ -6,13 +6,13 @@ class Ekg2 < Formula sha1 '8b6f53086e8e1d2890fdc1ec274a7b1615da0fa1' depends_on 'pkg-config' => :build - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'libgadu' if build.include? "with-libgadu" option "with-libgadu", "Compiles ekg2 with gadu-gadu support" def install - readline = Formula.factory 'readline' + readline = Formula.factory 'gnu-readline' args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb index 74c8c499d..720800a21 100644 --- a/Library/Formula/fish.rb +++ b/Library/Formula/fish.rb @@ -10,7 +10,7 @@ class Fish < Formula # Indeed, the head build always builds documentation depends_on 'doxygen' => :build if build.head? depends_on :autoconf if build.head? - depends_on 'readline' + depends_on 'gnu-readline' skip_clean 'share/doc' diff --git a/Library/Formula/ginac.rb b/Library/Formula/ginac.rb index f8b7caf3b..ba9f1203e 100644 --- a/Library/Formula/ginac.rb +++ b/Library/Formula/ginac.rb @@ -6,7 +6,7 @@ class Ginac < Formula sha1 'c93913c4c543874b2ade4f0390030641be7e0c41' depends_on 'cln' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" diff --git a/Library/Formula/readline.rb b/Library/Formula/gnu-readline.rb index 045cb056e..183cd8d19 100644 --- a/Library/Formula/readline.rb +++ b/Library/Formula/gnu-readline.rb @@ -1,17 +1,17 @@ require 'formula' -class Readline < Formula +class GnuReadline < Formula homepage 'http://tiswww.case.edu/php/chet/readline/rltop.html' url 'http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz' mirror 'http://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz' sha256 '79a696070a058c233c72dd6ac697021cc64abd5ed51e59db867d66d196a89381' version '6.2.4' - keg_only <<-EOS -OS X provides the BSD libedit library, which shadows libreadline. -In order to prevent conflicts when programs look for libreadline we are -defaulting this GNU Readline installation to keg-only. -EOS + keg_only <<-EOS.undent + OS X provides the BSD libedit library, which shadows libreadline. + In order to prevent conflicts when programs look for libreadline we are + defaulting this GNU Readline installation to keg-only. + EOS # Vendor the patches. # The mirrors are unreliable for getting the patches, and the more patches diff --git a/Library/Formula/gnu-smalltalk.rb b/Library/Formula/gnu-smalltalk.rb index 076521a6e..260073210 100644 --- a/Library/Formula/gnu-smalltalk.rb +++ b/Library/Formula/gnu-smalltalk.rb @@ -18,7 +18,7 @@ class GnuSmalltalk < Formula depends_on 'pkg-config' => :build depends_on 'xz' => :build depends_on 'gawk' => :build - depends_on 'readline' => :build + depends_on 'gnu-readline' depends_on 'libffi' => :recommended depends_on 'libsigsegv' => :recommended depends_on 'glew' => :optional @@ -45,7 +45,7 @@ class GnuSmalltalk < Formula --disable-dependency-tracking --prefix=#{prefix} --disable-gtk - --with-readline=#{Formula.factory('readline').lib} + --with-readline=#{Formula.factory('gnu-readline').lib} ] unless build.include? 'tcltk' args << '--without-tcl' << '--without-tk' << '--without-x' 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' diff --git a/Library/Formula/gphoto2.rb b/Library/Formula/gphoto2.rb index b88e02b26..76c2357f4 100644 --- a/Library/Formula/gphoto2.rb +++ b/Library/Formula/gphoto2.rb @@ -9,7 +9,7 @@ class Gphoto2 < Formula depends_on 'jpeg' depends_on 'libgphoto2' depends_on 'popt' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--disable-dependency-tracking", diff --git a/Library/Formula/grass.rb b/Library/Formula/grass.rb index 715ffc4e2..e9c9c36a1 100644 --- a/Library/Formula/grass.rb +++ b/Library/Formula/grass.rb @@ -26,7 +26,7 @@ class Grass < Formula depends_on "pkg-config" => :build depends_on "gettext" - depends_on "readline" + depends_on "gnu-readline" depends_on "gdal" depends_on "libtiff" depends_on "unixodbc" @@ -55,7 +55,7 @@ class Grass < Formula end def install - readline = Formula.factory('readline') + readline = Formula.factory('gnu-readline') gettext = Formula.factory('gettext') args = [ diff --git a/Library/Formula/guile.rb b/Library/Formula/guile.rb index fedc28b04..5cd6e1b8e 100644 --- a/Library/Formula/guile.rb +++ b/Library/Formula/guile.rb @@ -20,7 +20,7 @@ class Guile < Formula depends_on 'gmp' # GNU Readline is required; libedit won't work. - depends_on 'readline' + depends_on 'gnu-readline' fails_with :llvm do build 2336 @@ -30,7 +30,7 @@ class Guile < Formula def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", - "--with-libreadline-prefix=#{Formula.factory('readline').prefix}" + "--with-libreadline-prefix=#{Formula.factory('gnu-readline').prefix}" system "make install" # A really messed up workaround required on OS X --mkhl diff --git a/Library/Formula/hugs98.rb b/Library/Formula/hugs98.rb index 17efc6921..574d2d815 100644 --- a/Library/Formula/hugs98.rb +++ b/Library/Formula/hugs98.rb @@ -6,7 +6,7 @@ class Hugs98 < Formula homepage 'http://www.haskell.org/hugs/' sha1 '1464a80c715bc5f786ea5a4e4257b2ff0dc7e1e9' - depends_on 'readline' + depends_on 'gnu-readline' fails_with :clang do build 421 diff --git a/Library/Formula/hunspell.rb b/Library/Formula/hunspell.rb index 17d5df28b..7e6a1506b 100644 --- a/Library/Formula/hunspell.rb +++ b/Library/Formula/hunspell.rb @@ -5,7 +5,7 @@ class Hunspell < Formula homepage 'http://hunspell.sourceforge.net/' sha1 '902c76d2b55a22610e2227abc4fd26cbe606a51c' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--disable-dependency-tracking", diff --git a/Library/Formula/kes.rb b/Library/Formula/kes.rb index c68144ab6..4fe58183c 100644 --- a/Library/Formula/kes.rb +++ b/Library/Formula/kes.rb @@ -7,7 +7,7 @@ class Kes < Formula head 'https://github.com/epilnivek/kes.git' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--with-readline" diff --git a/Library/Formula/ldapvi.rb b/Library/Formula/ldapvi.rb index c24b465ee..eb11d77b1 100644 --- a/Library/Formula/ldapvi.rb +++ b/Library/Formula/ldapvi.rb @@ -8,7 +8,7 @@ class Ldapvi < Formula depends_on 'gettext' depends_on 'glib' depends_on 'popt' - depends_on 'readline' + depends_on 'gnu-readline' # Backporting the fix from the devel version # (namespace conflict with Lion's getline function) diff --git a/Library/Formula/lftp.rb b/Library/Formula/lftp.rb index 1f9eae4cf..fb835fa0c 100644 --- a/Library/Formula/lftp.rb +++ b/Library/Formula/lftp.rb @@ -6,7 +6,7 @@ class Lftp < Formula sha1 '4eef63d05760a0e7d6d6a7318e1fcda8de8c154e' depends_on 'pkg-config' => :build - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'gnutls' def install diff --git a/Library/Formula/libgda.rb b/Library/Formula/libgda.rb index 34cace056..0c1bd1b31 100644 --- a/Library/Formula/libgda.rb +++ b/Library/Formula/libgda.rb @@ -10,7 +10,7 @@ class Libgda < Formula depends_on 'gettext' depends_on 'glib' depends_on 'intltool' - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'libgcrypt' # brew's sqlite doesn't have necessary options compiled, so skipping as a dep for now diff --git a/Library/Formula/libqalculate.rb b/Library/Formula/libqalculate.rb index b069171a7..37ed7be68 100644 --- a/Library/Formula/libqalculate.rb +++ b/Library/Formula/libqalculate.rb @@ -9,7 +9,7 @@ class Libqalculate < Formula depends_on 'glib' depends_on 'gnuplot' depends_on 'gettext' - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'wget' # Patches against version 0.9.7, should not be needed in the future diff --git a/Library/Formula/libvirt.rb b/Library/Formula/libvirt.rb index ca2964a1e..c2e155a40 100644 --- a/Library/Formula/libvirt.rb +++ b/Library/Formula/libvirt.rb @@ -18,7 +18,7 @@ class Libvirt < Formula if MacOS.version == :leopard # Definitely needed on Leopard, but not on Snow Leopard. - depends_on "readline" + depends_on "gnu-readline" depends_on "libxml2" end diff --git a/Library/Formula/mdbtools.rb b/Library/Formula/mdbtools.rb index c94594e81..104a337ed 100644 --- a/Library/Formula/mdbtools.rb +++ b/Library/Formula/mdbtools.rb @@ -7,7 +7,7 @@ class Mdbtools < Formula depends_on 'pkg-config' => :build depends_on 'glib' - depends_on 'readline' + depends_on 'gnu-readline' depends_on :automake depends_on :libtool diff --git a/Library/Formula/monetdb.rb b/Library/Formula/monetdb.rb index 48821dd43..c5834ae1c 100644 --- a/Library/Formula/monetdb.rb +++ b/Library/Formula/monetdb.rb @@ -9,7 +9,7 @@ class Monetdb < Formula depends_on 'pkg-config' => :build depends_on 'pcre' - depends_on 'readline' # Compilation fails with libedit. + depends_on 'gnu-readline' # Compilation fails with libedit. def install system "./bootstrap" if build.head? diff --git a/Library/Formula/mysql-cluster.rb b/Library/Formula/mysql-cluster.rb index 5e4eeb5fc..c198322f1 100644 --- a/Library/Formula/mysql-cluster.rb +++ b/Library/Formula/mysql-cluster.rb @@ -25,7 +25,7 @@ class MysqlCluster < Formula depends_on MysqlNotInstalled.new depends_on 'cmake' => :build - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'pidof' fails_with :clang do diff --git a/Library/Formula/newlisp.rb b/Library/Formula/newlisp.rb index dec7ad975..dc91de1b5 100644 --- a/Library/Formula/newlisp.rb +++ b/Library/Formula/newlisp.rb @@ -5,7 +5,7 @@ class Newlisp < Formula url 'http://www.newlisp.org/downloads/newlisp-10.4.4.tgz' sha1 'eb1121aa49e5ef208855bd1ffdc3204eab974169' - depends_on 'readline' + depends_on 'gnu-readline' def install # Required to use our configuration diff --git a/Library/Formula/octave.rb b/Library/Formula/octave.rb index b4d38fea6..d6db94008 100644 --- a/Library/Formula/octave.rb +++ b/Library/Formula/octave.rb @@ -33,7 +33,7 @@ class Octave < Formula # We can work around the issues using dotwrp. depends_on 'dotwrp' if _snow_leopard_64? # octave refuses to work with BSD readline, so it's either this or --disable-readline - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'curl' if MacOS.version == :leopard # Leopard's libcurl is too old # additional features diff --git a/Library/Formula/pari.rb b/Library/Formula/pari.rb index 7b77c4a3e..4de736de3 100644 --- a/Library/Formula/pari.rb +++ b/Library/Formula/pari.rb @@ -6,10 +6,10 @@ class Pari < Formula sha1 'c83314bb993161a60e1e46ae7616072858414354' depends_on :x11 - depends_on 'readline' + depends_on 'gnu-readline' def install - readline = Formula.factory 'readline' + readline = Formula.factory 'gnu-readline' system "./Configure", "--prefix=#{prefix}", "--with-readline-include=#{readline.include}", "--with-readline-lib=#{readline.lib}" diff --git a/Library/Formula/pce.rb b/Library/Formula/pce.rb index d41152933..4d85f49d1 100644 --- a/Library/Formula/pce.rb +++ b/Library/Formula/pce.rb @@ -13,7 +13,7 @@ class Pce < Formula end depends_on 'sdl' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/pdsh.rb b/Library/Formula/pdsh.rb index d073a7d32..706919435 100644 --- a/Library/Formula/pdsh.rb +++ b/Library/Formula/pdsh.rb @@ -5,7 +5,7 @@ class Pdsh < Formula url 'http://sourceforge.net/projects/pdsh/files/pdsh/pdsh-2.26/pdsh-2.26.tar.bz2' sha1 'bdcec89760b93bd12107d8a785ca2710853cde75' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--prefix=#{prefix}", diff --git a/Library/Formula/percona-server.rb b/Library/Formula/percona-server.rb index 744baf3f3..5acc18fc2 100644 --- a/Library/Formula/percona-server.rb +++ b/Library/Formula/percona-server.rb @@ -7,7 +7,7 @@ class PerconaServer < Formula sha1 'c7b2803c440564beff124c9a5641daa643b9f909' depends_on 'cmake' => :build - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'pidof' option :universal diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index dfe9e9561..14d74e44c 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -5,7 +5,7 @@ class Postgresql < Formula url 'http://ftp.postgresql.org/pub/source/v9.2.1/postgresql-9.2.1.tar.bz2' sha1 'cea9601b3acd1484fd98441b49a15ea1c42057ec' - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'libxml2' if MacOS.version == :leopard # Leopard libxml is too old depends_on 'ossp-uuid' unless build.include? 'without-ossp-uuid' diff --git a/Library/Formula/pure.rb b/Library/Formula/pure.rb index 54c03ded2..1bc94fd3f 100644 --- a/Library/Formula/pure.rb +++ b/Library/Formula/pure.rb @@ -12,7 +12,7 @@ class Pure < Formula depends_on 'llvm' depends_on 'gmp' - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'mpfr' def install diff --git a/Library/Formula/pwsafe.rb b/Library/Formula/pwsafe.rb index 37ed52c85..acea322cb 100644 --- a/Library/Formula/pwsafe.rb +++ b/Library/Formula/pwsafe.rb @@ -5,7 +5,7 @@ class Pwsafe < Formula homepage 'http://nsd.dyndns.org/pwsafe/' sha1 '026643a391796a527a48ffccf93d542113ca79d4' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--disable-debug", "--disable-dependency-tracking", 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 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 diff --git a/Library/Formula/r.rb b/Library/Formula/r.rb index 35a864521..7cc897bc6 100644 --- a/Library/Formula/r.rb +++ b/Library/Formula/r.rb @@ -16,7 +16,7 @@ class R < Formula option 'with-valgrind', 'Compile an unoptimized build with support for the Valgrind debugger' - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'libtiff' depends_on 'jpeg' depends_on :x11 diff --git a/Library/Formula/renameutils.rb b/Library/Formula/renameutils.rb index d1c142c2c..a769b5ced 100644 --- a/Library/Formula/renameutils.rb +++ b/Library/Formula/renameutils.rb @@ -5,7 +5,7 @@ class Renameutils < Formula url 'http://download.savannah.gnu.org/releases/renameutils/renameutils-0.12.0.tar.gz' sha1 '8c6edae4ee374330a01a95257fd552b5cb7540bc' - depends_on 'readline' # Use instead of system libedit + depends_on 'gnu-readline' # Use instead of system libedit depends_on 'coreutils' # Use the GNU versions of certain system utilities. See: diff --git a/Library/Formula/rlwrap.rb b/Library/Formula/rlwrap.rb index ff85b6245..f47ff7cd1 100644 --- a/Library/Formula/rlwrap.rb +++ b/Library/Formula/rlwrap.rb @@ -5,7 +5,7 @@ class Rlwrap < Formula sha1 'c8fc5e7798a7c618a22583c56fa38d344700cc2f' homepage 'http://utopia.knoware.nl/~hlub/rlwrap/' - depends_on 'readline' + depends_on 'gnu-readline' def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" diff --git a/Library/Formula/ruby-enterprise-edition.rb b/Library/Formula/ruby-enterprise-edition.rb index ed1e9b2fa..c089918b7 100644 --- a/Library/Formula/ruby-enterprise-edition.rb +++ b/Library/Formula/ruby-enterprise-edition.rb @@ -9,12 +9,12 @@ class RubyEnterpriseEdition < Formula option 'enable-shared', "Compile shared, but see caveats" - depends_on 'readline' + depends_on 'gnu-readline' fails_with :llvm def install - readline = Formula.factory('readline').prefix + readline = Formula.factory('gnu-readline').prefix args = ["--auto", prefix, '--no-tcmalloc'] args << '-c' << '--enable-shared' if build.include? 'enable-shared' diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index a495111a1..bb9df232c 100644 --- a/Library/Formula/ruby.rb +++ b/Library/Formula/ruby.rb @@ -16,7 +16,7 @@ class Ruby < Formula depends_on :autoconf if build.head? depends_on 'pkg-config' => :build - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'gdbm' depends_on 'libyaml' depends_on :x11 if build.include? 'with-tcltk' diff --git a/Library/Formula/socat.rb b/Library/Formula/socat.rb index 620f88b3e..69a413b5c 100644 --- a/Library/Formula/socat.rb +++ b/Library/Formula/socat.rb @@ -10,7 +10,7 @@ class Socat < Formula sha1 'd75c0abc816f9bb8ee1e36f6ca4fe58d7e56f2a4' end - depends_on 'readline' + depends_on 'gnu-readline' def patches # Socat devs are aware; see: diff --git a/Library/Formula/spidermonkey.rb b/Library/Formula/spidermonkey.rb index 847d42e5b..69d839739 100644 --- a/Library/Formula/spidermonkey.rb +++ b/Library/Formula/spidermonkey.rb @@ -18,7 +18,7 @@ class Spidermonkey < Formula # head 'https://hg.mozilla.org/tracemonkey', :using => :hg head 'https://hg.mozilla.org/tracemonkey/archive/tip.tar.gz', :using => :curl - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'nspr' def install diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb index 1c01ce83c..9f4bbf321 100644 --- a/Library/Formula/sqlite.rb +++ b/Library/Formula/sqlite.rb @@ -18,7 +18,7 @@ class Sqlite < Formula sha1 'c464e0e3efe98227c6546b9b1e786b51b8b642fc' version '3.7.14.1' - depends_on 'readline' => :recommended + depends_on 'gnu-readline' => :recommended option :universal option 'with-docs', 'Install HTML documentation' diff --git a/Library/Formula/sqsh.rb b/Library/Formula/sqsh.rb index 44c2d4cef..166d2158b 100644 --- a/Library/Formula/sqsh.rb +++ b/Library/Formula/sqsh.rb @@ -9,7 +9,7 @@ class Sqsh < Formula depends_on :x11 if build.include? "enable-x" depends_on 'freetds' - depends_on 'readline' + depends_on 'gnu-readline' def install args = %W[ @@ -18,8 +18,8 @@ class Sqsh < Formula --with-readline ] - ENV['LIBDIRS'] = Readline.new('readline').lib - ENV['INCDIRS'] = Readline.new('readline').include + ENV['LIBDIRS'] = GnuReadline.new('gnu-readline').lib + ENV['INCDIRS'] = GnuReadline.new('gnu-readline').include if build.include? "enable-x" args << "--with-x" diff --git a/Library/Formula/swi-prolog.rb b/Library/Formula/swi-prolog.rb index 092235dcc..d968ff7dd 100644 --- a/Library/Formula/swi-prolog.rb +++ b/Library/Formula/swi-prolog.rb @@ -11,7 +11,7 @@ class SwiProlog < Formula option 'with-jpl', "Enable JPL (Java Prolog Bridge)" option 'with-xpce', "Enable XPCE (Prolog Native GUI Library)" - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'gmp' if build.include? 'with-xpce' diff --git a/Library/Formula/yarp.rb b/Library/Formula/yarp.rb index b2a96e966..dc36edd87 100644 --- a/Library/Formula/yarp.rb +++ b/Library/Formula/yarp.rb @@ -15,7 +15,7 @@ class Yarp < Formula depends_on 'gtkmm' depends_on 'libglademm' depends_on 'sqlite' - depends_on 'readline' + depends_on 'gnu-readline' depends_on 'jpeg' depends_on :x11 |
