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
commitf23b3fd214094adbed85eeaf0dc10e5484f70170 (patch)
treef0846d24306c97fee30568b4aa5b13544b0636a3 /Library
parente318ac243c2f7954b830bac1e9d719b9cab1f02a (diff)
downloadhomebrew-f23b3fd214094adbed85eeaf0dc10e5484f70170.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