Qt - use newer SQLite on 10.5
This commit is contained in:
parent
b6df6a8282
commit
d59cb8a2e9
1 changed files with 5 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue