diff options
| author | Misty De Meo | 2014-10-28 08:43:29 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-10-28 08:43:29 -0700 |
| commit | 5b734107c64d9661623d7f3334a1452d93c1eee9 (patch) | |
| tree | 321f65f0f90d049948c51a8007a3b64f01e43ff9 | |
| parent | 2c005c91c9fa72d09b8991ed3f1998523cb7ebad (diff) | |
| download | homebrew-5b734107c64d9661623d7f3334a1452d93c1eee9.tar.bz2 | |
opam: don't use aspcud by default before 10.8
| -rw-r--r-- | Library/Formula/opam.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/opam.rb b/Library/Formula/opam.rb index 5271b9256..ef28d54a1 100644 --- a/Library/Formula/opam.rb +++ b/Library/Formula/opam.rb @@ -16,9 +16,16 @@ class Opam < Formula end depends_on "objective-caml" - depends_on "aspcud" => :recommended depends_on "camlp4" => :recommended + # aspcud has a fairly large buildtime dep tree, and uses gringo, + # which requires C++11 and is inconvenient to install pre-10.8 + if MacOS.version > 10.7 + depends_on "aspcud" => :recommended + else + depends_on "aspcud" => :optional + end + if build.with? "aspcud" needs :cxx11 end |
