aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/macvim.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-29 08:31:47 -0700
committerAdam Vandenberg2011-03-29 08:31:47 -0700
commit9d03b211b831dbf413ad96fb4119d14ea5a99ff1 (patch)
tree610c41a6fd20a4e573d2d078b5fd70d602f0f765 /Library/Formula/macvim.rb
parentc893c70595def33e46015b223e41f6eea6f99623 (diff)
downloadhomebrew-9d03b211b831dbf413ad96fb4119d14ea5a99ff1.tar.bz2
macvim - fix arch for Leopard
Diffstat (limited to 'Library/Formula/macvim.rb')
-rw-r--r--Library/Formula/macvim.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index b00781210..0f562269f 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -29,7 +29,7 @@ class Macvim < Formula
# Set ARCHFLAGS so the Python app (with C extension) that is
# used to create the custom icons will not try to compile in
# PPC support (which isn't needed in Homebrew-supported systems.)
- arch = Hardware.is_64_bit? ? 'x86_64' : 'i386'
+ arch = MacOS.prefer_64_bit? ? 'x86_64' : 'i386'
ENV['ARCHFLAGS'] = "-arch #{arch}"
args = ["--with-macsdk=#{MACOS_VERSION}",