aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fish.rb
diff options
context:
space:
mode:
authorridiculousfish2015-02-24 22:13:29 -0800
committerMike McQuaid2015-02-25 08:41:56 +0000
commit540f8a52ea9633cd4a9baa18bab54cf6e8879a9b (patch)
tree64db695b8f5f29470e6c2f358a58b9875cb0a8d8 /Library/Formula/fish.rb
parentb20e2ab5ef50fe6d9f148eb975ded6057d2e0dbf (diff)
downloadhomebrew-540f8a52ea9633cd4a9baa18bab54cf6e8879a9b.tar.bz2
fish: use official 2.1.2 tarball.
The official tarball contains prebuilt documentation and a ./configure script, so this also restores the 2.1.1 behavior of NOT depending on doxygen or autoconf except for the HEAD build Closes #37177. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/fish.rb')
-rw-r--r--Library/Formula/fish.rb18
1 files changed, 7 insertions, 11 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb
index a0ef9cb13..d1247a4d3 100644
--- a/Library/Formula/fish.rb
+++ b/Library/Formula/fish.rb
@@ -1,7 +1,7 @@
class Fish < Formula
homepage "http://fishshell.com"
- url "https://github.com/fish-shell/fish-shell/archive/2.1.2.tar.gz"
- sha1 "fd40ed8de7497bf1578f50df6674b2d0464395fe"
+ url "http://fishshell.com/files/2.1.2/fish-2.1.2.tar.gz"
+ sha1 "f7f8d8d26721833be3458b8113c74b747296ec0b"
bottle do
sha1 "4fadd805fc166fd1692e7159339ded169577d195" => :yosemite
@@ -11,20 +11,16 @@ class Fish < Formula
head do
url "https://github.com/fish-shell/fish-shell.git", :shallow => false
- end
- # This pair of dependencies should be revisited upon fish's next release.
- # (they're normally only necessary for HEAD builds)
- depends_on "autoconf" => :build
- depends_on "doxygen" => :build
+ depends_on "autoconf" => :build
+ # Indeed, the head build always builds documentation
+ depends_on "doxygen" => :build
+ end
skip_clean "share/doc"
def install
- # As described above, needing autoconf on a release is temporary; once
- # fish has another major release, we can probably restore the
- # `if build.head?` statement modifier.
- system "autoconf"
+ system "autoconf" if build.head?
# In Homebrew's 'superenv' sed's path will be incompatible, so
# the correct path is passed into configure here.
system "./configure", "--prefix=#{prefix}", "SED=/usr/bin/sed"