aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2013-02-03 21:06:51 -0800
committerAdam Vandenberg2013-02-03 21:07:59 -0800
commitbad80d58f9bafc5ab80d7b1062712ce60a8f9eff (patch)
tree69ce59c0446e13fbb965c57319e6f51be6873b6d /Library/Homebrew
parent3c7837e5a9aa06bd4d20a9dcc1c2cdf61b9e50a6 (diff)
downloadbrew-bad80d58f9bafc5ab80d7b1062712ce60a8f9eff.tar.bz2
Architecture: add flag for ppc support
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/mach.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/mach.rb b/Library/Homebrew/mach.rb
index d1f4540ec..be93aca57 100644
--- a/Library/Homebrew/mach.rb
+++ b/Library/Homebrew/mach.rb
@@ -3,6 +3,10 @@ module ArchitectureListExtension
self.include? :i386 and self.include? :x86_64
end
+ def ppc?
+ self.include? :ppc7400 or self.include? :ppc64
+ end
+
def remove_ppc!
self.delete :ppc7400
self.delete :ppc64