aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mad.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/mad.rb')
-rw-r--r--Library/Formula/mad.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/mad.rb b/Library/Formula/mad.rb
index e81fbc468..775e3861e 100644
--- a/Library/Formula/mad.rb
+++ b/Library/Formula/mad.rb
@@ -23,12 +23,7 @@ Cflags: -I${includedir}
end
def install
- if MACOS_VERSION >= 10.6 and Hardware.is_64_bit?
- fpm = '64bit'
- else
- fpm = 'intel'
- end
-
+ fpm = snow_leopard_64? ? '64bit': 'intel'
system "./configure", "--disable-debugging", "--enable-fpm=#{fpm}", "--prefix=#{prefix}"
# See: http://github.com/mxcl/homebrew/issues/issue/1263