From 46c553ad431193c1cac98484b9610b6fe1a0136b Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 18 Mar 2011 10:30:47 -0700 Subject: Replace snow_leopard_64? in brews. --- Library/Formula/postgresql.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula/postgresql.rb') 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: -- cgit v1.2.3