opam: don't use aspcud by default before 10.8
This commit is contained in:
parent
5b847a089d
commit
0f04aa2873
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue