diff options
| author | Mike McQuaid | 2013-10-28 09:15:53 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2013-10-28 09:16:18 +0000 | 
| commit | 5e6eb74e24f63b8b2a3d78f1f19db3810f97d818 (patch) | |
| tree | 5ef38c70de8f2da8e6d441f88a5e20a623088a43 /Library | |
| parent | dac16f012e4161bf42a2e8b6b204050305364d87 (diff) | |
| download | homebrew-5e6eb74e24f63b8b2a3d78f1f19db3810f97d818.tar.bz2 | |
fish 2.1.0
Closes #23562.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/fish.rb | 82 | 
1 files changed, 6 insertions, 76 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb index 3af3c2222..e36110e4f 100644 --- a/Library/Formula/fish.rb +++ b/Library/Formula/fish.rb @@ -2,31 +2,27 @@ require 'formula'  class Fish < Formula    homepage 'http://fishshell.com' -  url 'http://fishshell.com/files/2.0.0/fish-2.0.0.tar.gz' -  sha1 '2d28553e2ff975f8e5fed6b266f7a940493b6636' +  url 'http://fishshell.com/files/2.1.0/fish-2.1.0.tar.gz' +  sha1 'b1764cba540055cb8e2a96a7ea4c844b04a32522'    head do      url 'https://github.com/fish-shell/fish-shell.git' +    depends_on :autoconf      # Indeed, the head build always builds documentation      depends_on 'doxygen' => :build    end -  depends_on :autoconf -    skip_clean 'share/doc' -  # Don't search extra folders for libiconv -  def patches; DATA; end unless build.head? -    def install -    system "autoconf" +    system "autoconf" if build.head?      system "./configure", "--prefix=#{prefix}" -    system "make install" +    system "make", "install"    end    test do -    system "fish", "-c", "echo" +    system "#{bin}/fish", "-c", "echo"    end    def caveats; <<-EOS.undent @@ -38,69 +34,3 @@ class Fish < Formula      EOS    end  end - -__END__ -diff --git a/configure.ac b/configure.ac -index 34f25e1..b9afa51 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -98,45 +98,6 @@ AC_PROG_INSTALL -  - echo "CXXFLAGS: $CXXFLAGS" -  --# --# Detect directories which may contain additional headers, libraries --# and commands. This needs to be done early - before Autoconf starts --# to mess with CFLAGS and all the other environemnt variables. --# --# This mostly helps OS X users, since fink usually installs out of --# tree and doesn't update CFLAGS. --# --# It also helps FreeBSD which puts libiconv in /usr/local/lib -- --for i in /usr/pkg /sw /opt /opt/local /usr/local; do -- --  AC_MSG_CHECKING([for $i/include include directory]) --  if test -d $i/include; then --    AC_MSG_RESULT(yes) --    CXXFLAGS="$CXXFLAGS -I$i/include/" --    CFLAGS="$CFLAGS -I$i/include/" --  else --  AC_MSG_RESULT(no) --  fi -- --  AC_MSG_CHECKING([for $i/lib library directory]) --  if test -d $i/lib; then --    AC_MSG_RESULT(yes) --    LDFLAGS="$LDFLAGS -L$i/lib/ -Wl,-rpath,$i/lib/" --  else --    AC_MSG_RESULT(no) --  fi -- --  AC_MSG_CHECKING([for $i/bin command directory]) --  if test -d $i/bin; then --    AC_MSG_RESULT(yes) --    optbindirs="$optbindirs $i/bin" --  else --    AC_MSG_RESULT(no) --  fi -- --done -- -  - # - # Tell autoconf to create config.h header -diff --git a/reader.cpp b/reader.cpp -index f7f92e5..5f3758b 100644 ---- a/reader.cpp -+++ b/reader.cpp -@@ -3035,6 +3035,9 @@ const wchar_t *reader_readline(void) - -                         /* Since we just inserted a completion, don't immediately do a new autosugg -                         data->suppress_autosuggestion = true; -+ -+                        /* Trigger repaint (see #765) */ -+                        reader_repaint_if_needed(); -                     } -                 } -                 else  | 
