Permalink
Browse files

Cabal: move fails_with to a class method

  • Loading branch information...
mistydemeo committed May 29, 2015
1 parent c337d46 commit 362d6d14602362a1f704e66f6297b69c631e2c9c
Showing with 27 additions and 4 deletions.
  1. +2 βˆ’0 Formula/agda.rb
  2. +2 βˆ’0 Formula/cgrep.rb
  3. +2 βˆ’0 Formula/cless.rb
  4. +2 βˆ’0 Formula/cryptol.rb
  5. +2 βˆ’0 Formula/darcs.rb
  6. +2 βˆ’0 Formula/git-annex.rb
  7. +2 βˆ’0 Formula/highlighting-kate.rb
  8. +2 βˆ’0 Formula/idris.rb
  9. +2 βˆ’0 Formula/mighttpd2.rb
  10. +2 βˆ’0 Formula/pandoc-citeproc.rb
  11. +1 βˆ’4 Formula/pandoc.rb
  12. +2 βˆ’0 Formula/purescript.rb
  13. +2 βˆ’0 Formula/shellcheck.rb
  14. +2 βˆ’0 Formula/texmath.rb
View
@@ -33,6 +33,8 @@ class Agda < Formula
depends_on "bdw-gc" if build.with? "epic-backend"
depends_on "emacs" => :optional
setup_ghc_compilers
head do
resource "stdlib" do
url "https://github.com/agda/agda-stdlib.git", :branch => "master"
View
@@ -19,6 +19,8 @@ class Cgrep < Formula
depends_on "ghc" => :build
depends_on "cabal-install" => :build
setup_ghc_compilers
def install
# The "--allow-newer" is a hack for GHC 7.10.1, remove when possible.
install_cabal_package "--allow-newer"
View
@@ -18,6 +18,8 @@ class Cless < Formula
depends_on "ghc" => :build
depends_on "cabal-install" => :build
setup_ghc_compilers
def install
# The "--allow-newer" is a hack for GHC 7.10.1, remove when possible.
install_cabal_package "--allow-newer"
View
@@ -19,6 +19,8 @@ class Cryptol < Formula
depends_on "cabal-install" => :build
depends_on "cvc4"
setup_ghc_compilers
def install
cabal_sandbox do
system "make", "PREFIX=#{prefix}", "install"
View
@@ -17,6 +17,8 @@ class Darcs < Formula
depends_on "cabal-install" => :build
depends_on "gmp"
setup_ghc_compilers
def install
install_cabal_package
end
View
@@ -23,6 +23,8 @@ class GitAnnex < Formula
depends_on "gnutls"
depends_on "quvi"
setup_ghc_compilers
def install
cabal_sandbox do
cabal_install_tools "alex", "happy", "c2hs"
@@ -20,6 +20,8 @@ class HighlightingKate < Formula
depends_on "ghc" => :build
depends_on "cabal-install" => :build
setup_ghc_compilers
def install
cabal_sandbox do
cabal_install "--only-dependencies"
View
@@ -21,6 +21,8 @@ class Idris < Formula
depends_on "libffi" => :recommended
depends_on "pkg-config" => :build if build.with? "libffi"
setup_ghc_compilers
def install
flags = []
flags << "-f FFI" if build.with? "libffi"
View
@@ -16,6 +16,8 @@ class Mighttpd2 < Formula
depends_on "ghc" => :build
depends_on "cabal-install" => :build
setup_ghc_compilers
def install
install_cabal_package
end
@@ -19,6 +19,8 @@ class PandocCiteproc < Formula
depends_on "cabal-install" => :build
depends_on "pandoc"
setup_ghc_compilers
def install
cabal_sandbox do
cabal_install "--only-dependencies"
View
@@ -19,10 +19,7 @@ class Pandoc < Formula
depends_on "cabal-install" => :build
depends_on "gmp"
fails_with :clang do
build 425
cause "clang segfaults on Lion"
end
setup_ghc_compilers
def install
cabal_sandbox do
View
@@ -16,6 +16,8 @@ class Purescript < Formula
depends_on "ghc" => :build
depends_on "cabal-install" => :build
setup_ghc_compilers
def install
install_cabal_package
end
View
@@ -19,6 +19,8 @@ class Shellcheck < Formula
depends_on "cabal-install" => :build
depends_on "pandoc" => :build
setup_ghc_compilers
def install
install_cabal_package
system "pandoc", "-s", "-t", "man", "shellcheck.1.md", "-o", "shellcheck.1"
View
@@ -18,6 +18,8 @@ class Texmath < Formula
depends_on "ghc" => :build
depends_on "cabal-install" => :build
setup_ghc_compilers
def install
cabal_sandbox do
cabal_install "--only-dependencies"

0 comments on commit 362d6d1

Please sign in to comment.