aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/aria2.rb
diff options
context:
space:
mode:
authorMisty De Meo2014-04-04 21:16:09 -0700
committerMisty De Meo2014-04-12 10:36:00 -0700
commit15ca054a15eff279232672d3d2b59abbae148fb6 (patch)
tree724b03e69406782b7efd91597f4c66f99b86eade /Library/Formula/aria2.rb
parent049bfda0b47ea851cb0241642ae26170915be616 (diff)
downloadhomebrew-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/aria2.rb')
-rw-r--r--Library/Formula/aria2.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/aria2.rb b/Library/Formula/aria2.rb
index d45754613..02b2e3200 100644
--- a/Library/Formula/aria2.rb
+++ b/Library/Formula/aria2.rb
@@ -13,7 +13,8 @@ class Aria2 < Formula
end
depends_on 'pkg-config' => :build
- depends_on :macos => :lion # Needs a c++11 compiler
+
+ needs :cxx11
def install
args = %W[