From 32ca8768c937bd60637b2b525e864b94406bbf60 Mon Sep 17 00:00:00 2001 From: Geoff Nixon Date: Wed, 13 May 2015 08:19:04 -0700 Subject: [PATCH] cless: remove gmp dependency, "--allow-newer" Closes Homebrew/homebrew#39709. Signed-off-by: Mike McQuaid --- Formula/cless.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Formula/cless.rb b/Formula/cless.rb index b48bac4237..5883c3f2bf 100644 --- a/Formula/cless.rb +++ b/Formula/cless.rb @@ -7,18 +7,20 @@ class Cless < Formula url "https://hackage.haskell.org/package/cless-0.3.0.0/cless-0.3.0.0.tar.gz" sha256 "0f06437973de1c36c1ac2472091a69c2684db40ba12f881592f1f08e8584629b" + revision 1 + bottle do sha256 "76b8d84196408e6e9a8600cb1a35240e75206db8d006ef8bfe38e7a171bb1b2c" => :yosemite sha256 "4027a2a344f157df664b878d74a5912cc75b55ecb8c9f76395ce4c178aa57839" => :mavericks sha256 "b370de61dbd0e438f5910ba5d98755b561a08cf151ecdc03c96bc2c2053fd1a5" => :mountain_lion end - depends_on "cabal-install" => :build depends_on "ghc" => :build - depends_on "gmp" + depends_on "cabal-install" => :build def install - install_cabal_package + # The "--allow-newer" is a hack for GHC 7.10.1, remove when possible. + install_cabal_package "--allow-newer" end test do