aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2013-08-01 19:57:05 -0700
committerMisty De Meo2013-08-01 19:57:05 -0700
commitea3861d296da4d1b5bdd08af8a7f34ec4b99d7b1 (patch)
tree42481d26e4f2fe61ad605360e1603b03ca91b10e /Library
parent1dc2e12f3ac5912ac8cd8ef48797a286b2a0451e (diff)
downloadbrew-ea3861d296da4d1b5bdd08af8a7f34ec4b99d7b1.tar.bz2
ArchRequirement: support :intel, :ppc
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/requirements.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb
index a8e7d6610..8dbcee0e2 100644
--- a/Library/Homebrew/requirements.rb
+++ b/Library/Homebrew/requirements.rb
@@ -77,6 +77,7 @@ class ArchRequirement < Requirement
satisfy do
case @arch
when :x86_64 then MacOS.prefer_64_bit?
+ when :intel, :ppc then Hardware::CPU.type == @arch
end
end