diff options
| author | Adam Vandenberg | 2010-08-07 21:04:37 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-22 20:11:03 -0700 |
| commit | 31f1fabd032c7546417c2b5a4e5b874831b32aaa (patch) | |
| tree | afa64652cf90d79c3cb2110e092eabcc5b9f5962 /Library/Formula/ruby-odbc.rb | |
| parent | 2bc91fd69a3fa7e71d7df245cd07901afa0ed0a7 (diff) | |
| download | homebrew-31f1fabd032c7546417c2b5a4e5b874831b32aaa.tar.bz2 | |
Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for:
MACOS_VERSION >= 10.6 and Hardware.is_64_bit?
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/ruby-odbc.rb')
| -rw-r--r-- | Library/Formula/ruby-odbc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ruby-odbc.rb b/Library/Formula/ruby-odbc.rb index d0ddcba3d..e20217c18 100644 --- a/Library/Formula/ruby-odbc.rb +++ b/Library/Formula/ruby-odbc.rb @@ -19,7 +19,7 @@ class RubyOdbc < Formula s.change_make_var! "prefix", prefix s.change_make_var! "sitearchdir", lib - if Hardware.is_64_bit? and MACOS_VERSION >= 10.6 + if snow_leopard_64? # ruby-odbc still chooses iODBC over unixODBC (even with --with-odbc-dir) # apparently because unixODBC is compiled for only x86_64 and ruby-odbc # and iODBC are both i386 and x86_64. The solution (which works for me on Snow Leopard) |
