diff options
| author | Misty De Meo | 2014-04-04 21:16:09 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-04-12 10:36:00 -0700 |
| commit | 15ca054a15eff279232672d3d2b59abbae148fb6 (patch) | |
| tree | 724b03e69406782b7efd91597f4c66f99b86eade /Library/Formula/capnp.rb | |
| parent | 049bfda0b47ea851cb0241642ae26170915be616 (diff) | |
| download | homebrew-15ca054a15eff279232672d3d2b59abbae148fb6.tar.bz2 | |
Formula: provide compiler failure collections
`needs` allows formulae to specify dependencies on cross-compiler
dependencies, allowing multiple failures to be specified in a single
statement. For instance, `needs :cxx11` adds seven compiler failures.
Closes #22912.
Diffstat (limited to 'Library/Formula/capnp.rb')
| -rw-r--r-- | Library/Formula/capnp.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/Library/Formula/capnp.rb b/Library/Formula/capnp.rb index b08b04262..f8e0700e7 100644 --- a/Library/Formula/capnp.rb +++ b/Library/Formula/capnp.rb @@ -5,23 +5,7 @@ class Capnp < Formula url 'http://capnproto.org/capnproto-c++-0.4.1.tar.gz' sha1 '18ce1a404c2bf68e6625e44927bfe6b67186cb15' - # TODO add fails_with statements for FSF GCC - fails_with :gcc do - cause "Cap'n Proto requires C++11 support" - end - - fails_with :gcc_4_0 do - cause "Cap'n Proto requires C++11 support" - end - - fails_with :clang do - build 425 - cause "Clang 3.2 or newer is required to build Cap'n Proto" - end - - fails_with :llvm do - cause "Cap'n Proto requires C++11 support" - end + needs :cxx11 def install system "./configure", "--disable-debug", |
