diff options
54 files changed, 70 insertions, 71 deletions
| diff --git a/Library/Aliases/readline b/Library/Aliases/readline deleted file mode 120000 index 41edea6d6..000000000 --- a/Library/Aliases/readline +++ /dev/null @@ -1 +0,0 @@ -../Formula/gnu-readline.rb
\ No newline at end of file diff --git a/Library/Formula/abook.rb b/Library/Formula/abook.rb index 400f0c8e3..0a599fd23 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 'gnu-readline' +  depends_on 'readline'    def install      system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/asymptote.rb b/Library/Formula/asymptote.rb index f0031fd07..a0d2f1911 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 'gnu-readline' +  depends_on 'readline'    depends_on 'bdw-gc'    def install diff --git a/Library/Formula/augeas.rb b/Library/Formula/augeas.rb index 44a59dd3d..5f1b01fdd 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 'gnu-readline' +  depends_on 'readline'    def install      system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/bash.rb b/Library/Formula/bash.rb index 8488a08aa..24830f9a5 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 'gnu-readline' +  depends_on '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 8ab39cdb2..96786b913 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 'gnu-readline' +  depends_on 'readline'    depends_on 'neon'    def install diff --git a/Library/Formula/calc.rb b/Library/Formula/calc.rb index 07350f5e1..b6be7920d 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 'gnu-readline' +  depends_on '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('gnu-readline') +    readline = Formula.factory('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 74594d5e7..b376adb74 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 'gnu-readline' +  depends_on '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 d2f2ff4d1..c8a9b6b32 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 'gnu-readline' +  depends_on '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 a08f0d41e..d0e8c8cb3 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 "gnu-readline" +  depends_on "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 1235f7c17..66322b5f4 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 'gnu-readline' +  depends_on 'readline'    def install diff --git a/Library/Formula/dwarf.rb b/Library/Formula/dwarf.rb index 287fe02dc..98bd015bb 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 'gnu-readline' +  depends_on '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 fd41f0d59..2ec7dbaf1 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 'gnu-readline' +  depends_on 'readline'    depends_on 'libgadu' if build.include? "with-libgadu"    option "with-libgadu", "Compiles ekg2 with gadu-gadu support"    def install -    readline = Formula.factory 'gnu-readline' +    readline = Formula.factory 'readline'      args = ["--disable-debug", "--disable-dependency-tracking",              "--prefix=#{prefix}", diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb index 720800a21..74c8c499d 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 'gnu-readline' +  depends_on 'readline'    skip_clean 'share/doc' diff --git a/Library/Formula/ginac.rb b/Library/Formula/ginac.rb index ba9f1203e..f8b7caf3b 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 'gnu-readline' +  depends_on 'readline'    def install      system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" diff --git a/Library/Formula/gnu-smalltalk.rb b/Library/Formula/gnu-smalltalk.rb index 260073210..076521a6e 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 'gnu-readline' +  depends_on 'readline'   => :build    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('gnu-readline').lib} +      --with-readline=#{Formula.factory('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 2706cc374..4910fc52a 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 'gnu-readline' +  depends_on '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 'gnu-readline' +    readline = Formula.factory 'readline'      pdflib = Formula.factory 'pdflib-lite'      gd = Formula.factory 'gd' diff --git a/Library/Formula/gphoto2.rb b/Library/Formula/gphoto2.rb index 76c2357f4..b88e02b26 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 'gnu-readline' +  depends_on 'readline'    def install      system "./configure", "--disable-dependency-tracking", diff --git a/Library/Formula/grass.rb b/Library/Formula/grass.rb index e9c9c36a1..715ffc4e2 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 "gnu-readline" +  depends_on "readline"    depends_on "gdal"    depends_on "libtiff"    depends_on "unixodbc" @@ -55,7 +55,7 @@ class Grass < Formula    end    def install -    readline = Formula.factory('gnu-readline') +    readline = Formula.factory('readline')      gettext = Formula.factory('gettext')      args = [ diff --git a/Library/Formula/guile.rb b/Library/Formula/guile.rb index 5cd6e1b8e..fedc28b04 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 'gnu-readline' +  depends_on '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('gnu-readline').prefix}" +                          "--with-libreadline-prefix=#{Formula.factory('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 574d2d815..17efc6921 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 'gnu-readline' +  depends_on 'readline'    fails_with :clang do      build 421 diff --git a/Library/Formula/hunspell.rb b/Library/Formula/hunspell.rb index 7e6a1506b..17d5df28b 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 'gnu-readline' +  depends_on 'readline'    def install      system "./configure", "--disable-dependency-tracking", diff --git a/Library/Formula/kes.rb b/Library/Formula/kes.rb index 4fe58183c..c68144ab6 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 'gnu-readline' +  depends_on 'readline'    def install      system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--with-readline" diff --git a/Library/Formula/ldapvi.rb b/Library/Formula/ldapvi.rb index eb11d77b1..c24b465ee 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 'gnu-readline' +  depends_on '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 fb835fa0c..1f9eae4cf 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 'gnu-readline' +  depends_on 'readline'    depends_on 'gnutls'    def install diff --git a/Library/Formula/libgda.rb b/Library/Formula/libgda.rb index 0c1bd1b31..34cace056 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 'gnu-readline' +  depends_on '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 37ed7be68..b069171a7 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 'gnu-readline' +  depends_on '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 c2e155a40..ca2964a1e 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 "gnu-readline" +    depends_on "readline"      depends_on "libxml2"    end diff --git a/Library/Formula/mdbtools.rb b/Library/Formula/mdbtools.rb index 104a337ed..c94594e81 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 'gnu-readline' +  depends_on 'readline'    depends_on :automake    depends_on :libtool diff --git a/Library/Formula/monetdb.rb b/Library/Formula/monetdb.rb index c5834ae1c..48821dd43 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 'gnu-readline' # Compilation fails with libedit. +  depends_on '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 c198322f1..5e4eeb5fc 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 'gnu-readline' +  depends_on 'readline'    depends_on 'pidof'    fails_with :clang do diff --git a/Library/Formula/newlisp.rb b/Library/Formula/newlisp.rb index dc91de1b5..dec7ad975 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 'gnu-readline' +  depends_on 'readline'    def install      # Required to use our configuration diff --git a/Library/Formula/octave.rb b/Library/Formula/octave.rb index d6db94008..b4d38fea6 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 'gnu-readline' +  depends_on '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 4de736de3..7b77c4a3e 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 'gnu-readline' +  depends_on 'readline'    def install -    readline = Formula.factory 'gnu-readline' +    readline = Formula.factory '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 4d85f49d1..d41152933 100644 --- a/Library/Formula/pce.rb +++ b/Library/Formula/pce.rb @@ -13,7 +13,7 @@ class Pce < Formula    end    depends_on 'sdl' -  depends_on 'gnu-readline' +  depends_on 'readline'    def install      system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/pdsh.rb b/Library/Formula/pdsh.rb index 706919435..d073a7d32 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 'gnu-readline' +  depends_on 'readline'    def install      system "./configure", "--prefix=#{prefix}", diff --git a/Library/Formula/percona-server.rb b/Library/Formula/percona-server.rb index 5acc18fc2..744baf3f3 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 'gnu-readline' +  depends_on 'readline'    depends_on 'pidof'    option :universal diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index 14d74e44c..dfe9e9561 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 'gnu-readline' +  depends_on '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 1bc94fd3f..54c03ded2 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 'gnu-readline' +  depends_on 'readline'    depends_on 'mpfr'    def install diff --git a/Library/Formula/pwsafe.rb b/Library/Formula/pwsafe.rb index acea322cb..37ed52c85 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 'gnu-readline' +  depends_on 'readline'    def install      system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index 47ba43e42..ec19c610a 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 'gnu-readline' => :recommended +  depends_on '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/gnu-readline/lib/libhistory.dylib'" +                "do_readline = '#{HOMEBREW_PREFIX}/opt/readline/lib/libhistory.dylib'"      end    end diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index 39a277762..9f1b3f2cf 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 'gnu-readline' => :recommended +  depends_on '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/gnu-readline/lib/libhistory.dylib'" +                "do_readline = '#{HOMEBREW_PREFIX}/opt/readline/lib/libhistory.dylib'"      end    end diff --git a/Library/Formula/r.rb b/Library/Formula/r.rb index 7cc897bc6..35a864521 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 'gnu-readline' +  depends_on 'readline'    depends_on 'libtiff'    depends_on 'jpeg'    depends_on :x11 diff --git a/Library/Formula/gnu-readline.rb b/Library/Formula/readline.rb index 183cd8d19..045cb056e 100644 --- a/Library/Formula/gnu-readline.rb +++ b/Library/Formula/readline.rb @@ -1,17 +1,17 @@  require 'formula' -class GnuReadline < Formula +class Readline < 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.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 +  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    # Vendor the patches.    # The mirrors are unreliable for getting the patches, and the more patches diff --git a/Library/Formula/renameutils.rb b/Library/Formula/renameutils.rb index a769b5ced..d1c142c2c 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 'gnu-readline' # Use instead of system libedit +  depends_on '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 f47ff7cd1..ff85b6245 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 'gnu-readline' +  depends_on '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 c089918b7..ed1e9b2fa 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 'gnu-readline' +  depends_on 'readline'    fails_with :llvm    def install -    readline = Formula.factory('gnu-readline').prefix +    readline = Formula.factory('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 bb9df232c..a495111a1 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 'gnu-readline' +  depends_on '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 69a413b5c..620f88b3e 100644 --- a/Library/Formula/socat.rb +++ b/Library/Formula/socat.rb @@ -10,7 +10,7 @@ class Socat < Formula      sha1 'd75c0abc816f9bb8ee1e36f6ca4fe58d7e56f2a4'    end -  depends_on 'gnu-readline' +  depends_on 'readline'    def patches      # Socat devs are aware; see: diff --git a/Library/Formula/spidermonkey.rb b/Library/Formula/spidermonkey.rb index 69d839739..847d42e5b 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 'gnu-readline' +  depends_on 'readline'    depends_on 'nspr'    def install diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb index 9f4bbf321..1c01ce83c 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 'gnu-readline' => :recommended +  depends_on 'readline' => :recommended    option :universal    option 'with-docs', 'Install HTML documentation' diff --git a/Library/Formula/sqsh.rb b/Library/Formula/sqsh.rb index 166d2158b..44c2d4cef 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 'gnu-readline' +  depends_on 'readline'    def install      args = %W[ @@ -18,8 +18,8 @@ class Sqsh < Formula        --with-readline      ] -    ENV['LIBDIRS'] = GnuReadline.new('gnu-readline').lib -    ENV['INCDIRS'] = GnuReadline.new('gnu-readline').include +    ENV['LIBDIRS'] = Readline.new('readline').lib +    ENV['INCDIRS'] = Readline.new('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 d968ff7dd..092235dcc 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 'gnu-readline' +  depends_on 'readline'    depends_on 'gmp'    if build.include? 'with-xpce' diff --git a/Library/Formula/yarp.rb b/Library/Formula/yarp.rb index dc36edd87..b2a96e966 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 'gnu-readline' +  depends_on 'readline'    depends_on 'jpeg'    depends_on :x11 | 
