diff --git a/Aliases/readline b/Aliases/readline new file mode 120000 index 00000000000..41edea6d69e --- /dev/null +++ b/Aliases/readline @@ -0,0 +1 @@ +../Formula/gnu-readline.rb \ No newline at end of file diff --git a/Formula/abook.rb b/Formula/abook.rb index 0a599fd2341..400f0c8e324 100644 --- a/Formula/abook.rb +++ b/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/Formula/asymptote.rb b/Formula/asymptote.rb index a0d2f1911d1..f0031fd076f 100644 --- a/Formula/asymptote.rb +++ b/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/Formula/augeas.rb b/Formula/augeas.rb index 5f1b01fdd38..44a59dd3d57 100644 --- a/Formula/augeas.rb +++ b/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/Formula/bash.rb b/Formula/bash.rb index 24830f9a538..8488a08aa33 100644 --- a/Formula/bash.rb +++ b/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/Formula/cadaver.rb b/Formula/cadaver.rb index 96786b913b8..8ab39cdb21c 100644 --- a/Formula/cadaver.rb +++ b/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/Formula/calc.rb b/Formula/calc.rb index b6be7920dfb..07350f5e1d5 100644 --- a/Formula/calc.rb +++ b/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/Formula/cgdb.rb b/Formula/cgdb.rb index b376adb749d..74594d5e700 100644 --- a/Formula/cgdb.rb +++ b/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/Formula/clisp.rb b/Formula/clisp.rb index c8a9b6b32ec..d2f2ff4d1e4 100644 --- a/Formula/clisp.rb +++ b/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/Formula/devtodo.rb b/Formula/devtodo.rb index d0e8c8cb3e2..a08f0d41e8a 100644 --- a/Formula/devtodo.rb +++ b/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/Formula/drizzle.rb b/Formula/drizzle.rb index 66322b5f48e..1235f7c170c 100644 --- a/Formula/drizzle.rb +++ b/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/Formula/dwarf.rb b/Formula/dwarf.rb index 98bd015bb5b..287fe02dc90 100644 --- a/Formula/dwarf.rb +++ b/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/Formula/ekg2.rb b/Formula/ekg2.rb index 2ec7dbaf18c..fd41f0d596c 100644 --- a/Formula/ekg2.rb +++ b/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/Formula/fish.rb b/Formula/fish.rb index 74c8c499d4a..720800a211d 100644 --- a/Formula/fish.rb +++ b/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/Formula/ginac.rb b/Formula/ginac.rb index f8b7caf3bb0..ba9f1203ea5 100644 --- a/Formula/ginac.rb +++ b/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/Formula/readline.rb b/Formula/gnu-readline.rb similarity index 95% rename from Formula/readline.rb rename to Formula/gnu-readline.rb index 045cb056e9f..183cd8d19f5 100644 --- a/Formula/readline.rb +++ b/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/Formula/gnu-smalltalk.rb b/Formula/gnu-smalltalk.rb index 076521a6ec5..2600732108b 100644 --- a/Formula/gnu-smalltalk.rb +++ b/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/Formula/gnuplot.rb b/Formula/gnuplot.rb index 4910fc52acd..2706cc374a5 100644 --- a/Formula/gnuplot.rb +++ b/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/Formula/gphoto2.rb b/Formula/gphoto2.rb index b88e02b260a..76c2357f4d4 100644 --- a/Formula/gphoto2.rb +++ b/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/Formula/grass.rb b/Formula/grass.rb index 715ffc4e294..e9c9c36a174 100644 --- a/Formula/grass.rb +++ b/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/Formula/guile.rb b/Formula/guile.rb index fedc28b0471..5cd6e1b8ea2 100644 --- a/Formula/guile.rb +++ b/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/Formula/hugs98.rb b/Formula/hugs98.rb index 17efc6921c2..574d2d8156e 100644 --- a/Formula/hugs98.rb +++ b/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/Formula/hunspell.rb b/Formula/hunspell.rb index 17d5df28bc1..7e6a1506ba4 100644 --- a/Formula/hunspell.rb +++ b/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/Formula/kes.rb b/Formula/kes.rb index c68144ab6f7..4fe58183ce4 100644 --- a/Formula/kes.rb +++ b/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/Formula/ldapvi.rb b/Formula/ldapvi.rb index c24b465eed4..eb11d77b14c 100644 --- a/Formula/ldapvi.rb +++ b/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/Formula/lftp.rb b/Formula/lftp.rb index 1f9eae4cf5c..fb835fa0c4a 100644 --- a/Formula/lftp.rb +++ b/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/Formula/libgda.rb b/Formula/libgda.rb index 34cace056eb..0c1bd1b310a 100644 --- a/Formula/libgda.rb +++ b/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/Formula/libqalculate.rb b/Formula/libqalculate.rb index b069171a7cc..37ed7be686e 100644 --- a/Formula/libqalculate.rb +++ b/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/Formula/libvirt.rb b/Formula/libvirt.rb index ca2964a1e99..c2e155a4097 100644 --- a/Formula/libvirt.rb +++ b/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/Formula/mdbtools.rb b/Formula/mdbtools.rb index c94594e81bd..104a337ede9 100644 --- a/Formula/mdbtools.rb +++ b/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/Formula/monetdb.rb b/Formula/monetdb.rb index 48821dd43ea..c5834ae1c89 100644 --- a/Formula/monetdb.rb +++ b/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/Formula/mysql-cluster.rb b/Formula/mysql-cluster.rb index 5e4eeb5fc29..c198322f1e6 100644 --- a/Formula/mysql-cluster.rb +++ b/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/Formula/newlisp.rb b/Formula/newlisp.rb index dec7ad97519..dc91de1b51e 100644 --- a/Formula/newlisp.rb +++ b/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/Formula/octave.rb b/Formula/octave.rb index b4d38fea628..d6db9400818 100644 --- a/Formula/octave.rb +++ b/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/Formula/pari.rb b/Formula/pari.rb index 7b77c4a3ed5..4de736de3a5 100644 --- a/Formula/pari.rb +++ b/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/Formula/pce.rb b/Formula/pce.rb index d4115293309..4d85f49d14a 100644 --- a/Formula/pce.rb +++ b/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/Formula/pdsh.rb b/Formula/pdsh.rb index d073a7d32dd..70691943551 100644 --- a/Formula/pdsh.rb +++ b/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/Formula/percona-server.rb b/Formula/percona-server.rb index 744baf3f339..5acc18fc220 100644 --- a/Formula/percona-server.rb +++ b/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/Formula/postgresql.rb b/Formula/postgresql.rb index dfe9e9561e1..14d74e44c9f 100644 --- a/Formula/postgresql.rb +++ b/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/Formula/pure.rb b/Formula/pure.rb index 54c03ded2aa..1bc94fd3fa7 100644 --- a/Formula/pure.rb +++ b/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/Formula/pwsafe.rb b/Formula/pwsafe.rb index 37ed52c85a7..acea322cba4 100644 --- a/Formula/pwsafe.rb +++ b/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/Formula/python.rb b/Formula/python.rb index ec19c610a45..47ba43e42a3 100644 --- a/Formula/python.rb +++ b/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/Formula/python3.rb b/Formula/python3.rb index 9f1b3f2cf09..39a27776235 100644 --- a/Formula/python3.rb +++ b/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/Formula/r.rb b/Formula/r.rb index 35a86452135..7cc897bc68e 100644 --- a/Formula/r.rb +++ b/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/Formula/renameutils.rb b/Formula/renameutils.rb index d1c142c2cb8..a769b5ced69 100644 --- a/Formula/renameutils.rb +++ b/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/Formula/rlwrap.rb b/Formula/rlwrap.rb index ff85b6245f7..f47ff7cd1ae 100644 --- a/Formula/rlwrap.rb +++ b/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/Formula/ruby-enterprise-edition.rb b/Formula/ruby-enterprise-edition.rb index ed1e9b2fadd..c089918b748 100644 --- a/Formula/ruby-enterprise-edition.rb +++ b/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/Formula/ruby.rb b/Formula/ruby.rb index a495111a1c4..bb9df232c75 100644 --- a/Formula/ruby.rb +++ b/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/Formula/socat.rb b/Formula/socat.rb index 620f88b3e5f..69a413b5c3f 100644 --- a/Formula/socat.rb +++ b/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/Formula/spidermonkey.rb b/Formula/spidermonkey.rb index 847d42e5b6c..69d83973942 100644 --- a/Formula/spidermonkey.rb +++ b/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/Formula/sqlite.rb b/Formula/sqlite.rb index 1c01ce83c28..9f4bbf321c7 100644 --- a/Formula/sqlite.rb +++ b/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/Formula/sqsh.rb b/Formula/sqsh.rb index 44c2d4cef69..166d2158bba 100644 --- a/Formula/sqsh.rb +++ b/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/Formula/swi-prolog.rb b/Formula/swi-prolog.rb index 092235dcc07..d968ff7dd08 100644 --- a/Formula/swi-prolog.rb +++ b/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/Formula/yarp.rb b/Formula/yarp.rb index b2a96e966ad..dc36edd875b 100644 --- a/Formula/yarp.rb +++ b/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