diff options
| author | Adam Vandenberg | 2010-02-16 10:29:40 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-02-18 10:27:09 -0800 |
| commit | babb189e63e932fd1a65d40e31540097661bed02 (patch) | |
| tree | f4cef43fe8d672c1744b09513fcd51892203a5f3 /Library | |
| parent | 61a933c1bdfd3c285e8a8f97948e8852dfd14ae2 (diff) | |
| download | homebrew-babb189e63e932fd1a65d40e31540097661bed02.tar.bz2 | |
Qt - use newer SQLite on 10.5
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/qt.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index 27fa4dc20..d07f0d86c 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -19,6 +19,7 @@ class Qt <Formula depends_on "d-bus" if ARGV.include? '--with-qtdbus' depends_on 'libpng' unless x11? + depends_on 'sqlite' if MACOS_VERSION <= 10.5 def install if version == '4.6.2' # being specific so needs reconfirmed each version @@ -28,12 +29,15 @@ class Qt <Formula end conf_args = ["-prefix", prefix, - "-system-sqlite", "-system-libpng", "-system-zlib", + "-system-libpng", "-system-zlib", "-nomake", "demos", "-nomake", "examples", "-release", "-cocoa", "-confirm-license", "-opensource", "-fast"] + # See: http://github.com/mxcl/homebrew/issues/issue/744 + conf_args << "-system-sqlite" if MACOS_VERSION <= 10.5 + conf_args << "-plugin-sql-mysql" if (HOMEBREW_CELLAR+"mysql").directory? if ARGV.include? '--with-qtdbus' |
