aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgresql.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-04-08 11:16:37 -0700
committerAdam Vandenberg2011-04-09 09:36:30 -0700
commitb782d9da90d561638d9697a98d99faaa61b64453 (patch)
tree402c7460717df2d37ce48c61960b121fb74941a5 /Library/Formula/postgresql.rb
parentb5b6da2c6c27b9784808329c2c9b45f1976647a9 (diff)
downloadhomebrew-b782d9da90d561638d9697a98d99faaa61b64453.tar.bz2
Normalize use of MACOS_VERSION
Diffstat (limited to 'Library/Formula/postgresql.rb')
-rw-r--r--Library/Formula/postgresql.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb
index 50d4ebb94..fe8194932 100644
--- a/Library/Formula/postgresql.rb
+++ b/Library/Formula/postgresql.rb
@@ -7,7 +7,7 @@ class Postgresql < Formula
md5 '928df8c40bb012ad10756e58b70516fb'
depends_on 'readline'
- depends_on 'libxml2' if MACOS_VERSION < 10.6 # Leopard libxml is too old
+ depends_on 'libxml2' if MacOS.leopard? # Leopard libxml is too old
depends_on 'ossp-uuid'
def options
@@ -20,7 +20,7 @@ class Postgresql < Formula
skip_clean :all
def install
- ENV.libxml2 if MACOS_VERSION >= 10.6
+ ENV.libxml2 if MacOS.snow_leopard?
args = ["--disable-debug",
"--prefix=#{prefix}",