opam: don't use aspcud by default before 10.8

This commit is contained in:
Misty De Meo 2014-10-28 08:43:29 -07:00
parent 5b847a089d
commit 0f04aa2873

View file

@ -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