From 9d03b211b831dbf413ad96fb4119d14ea5a99ff1 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 29 Mar 2011 08:31:47 -0700 Subject: macvim - fix arch for Leopard --- Library/Formula/macvim.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula/macvim.rb') 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}", -- cgit v1.2.3