diff options
| author | Adam Vandenberg | 2011-03-18 10:30:47 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-18 10:30:47 -0700 |
| commit | 46c553ad431193c1cac98484b9610b6fe1a0136b (patch) | |
| tree | a93bba9fd5f3073f4fc3f0d61c8bccc264134d9f /Library/Formula/postgresql.rb | |
| parent | edeace562e45802525e5699ea73465380cb9e8c3 (diff) | |
| download | homebrew-46c553ad431193c1cac98484b9610b6fe1a0136b.tar.bz2 | |
Replace snow_leopard_64? in brews.
Diffstat (limited to 'Library/Formula/postgresql.rb')
| -rw-r--r-- | Library/Formula/postgresql.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index ef86c1997..590d88dd5 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -39,7 +39,7 @@ class Postgresql < Formula ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip ENV.append 'LIBS', `uuid-config --libs`.strip - if snow_leopard_64? and not ARGV.include? '--no-python' + if MacOS.prefer_64_bit? and not ARGV.include? '--no-python' args << "ARCHFLAGS='-arch x86_64'" check_python_arch end @@ -116,7 +116,7 @@ And stop with: pg_ctl -D #{var}/postgres stop -s -m fast EOS - if snow_leopard_64? then + if MacOS.prefer_64_bit? then s << <<-EOS If you want to install the postgres gem, including ARCHFLAGS is recommended: |
