aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/qt.rb
diff options
context:
space:
mode:
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'