aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/qt.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/qt.rb
parentb5b6da2c6c27b9784808329c2c9b45f1976647a9 (diff)
downloadhomebrew-b782d9da90d561638d9697a98d99faaa61b64453.tar.bz2
Normalize use of MACOS_VERSION
Diffstat (limited to 'Library/Formula/qt.rb')
-rw-r--r--Library/Formula/qt.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index d861df051..227e89b19 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -21,7 +21,7 @@ class Qt < Formula
end
depends_on "d-bus" if ARGV.include? '--with-qtdbus'
- depends_on 'sqlite' if MACOS_VERSION <= 10.5
+ depends_on 'sqlite' if MacOS.leopard?
def install
ENV.x11
@@ -33,7 +33,7 @@ class Qt < Formula
"-cocoa", "-fast" ]
# See: https://github.com/mxcl/homebrew/issues/issue/744
- args << "-system-sqlite" if MACOS_VERSION <= 10.5
+ args << "-system-sqlite" if MacOS.leopard?
args << "-plugin-sql-mysql" if (HOMEBREW_CELLAR+"mysql").directory?
if ARGV.include? '--with-qtdbus'