diff options
| author | Jack Nagel | 2013-06-26 19:04:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-26 19:04:23 -0500 |
| commit | 1fc5a1918a9dad37b938df46cd0a67853970f25c (patch) | |
| tree | 3bf58d022c01f076229c6933d56be38a9fa4ac46 /Library/Formula | |
| parent | f09eb3de7537b21a967e1bfbe7c2817a84ec5072 (diff) | |
| download | homebrew-1fc5a1918a9dad37b938df46cd0a67853970f25c.tar.bz2 | |
qt5: use optional dep for mysql
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qt5.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index 6c3e729cd..d1d03d1f8 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -19,7 +19,7 @@ class Qt5 < Formula depends_on :libpng depends_on "d-bus" if build.include? 'with-qtdbus' - depends_on "mysql" if build.include? 'with-mysql' + depends_on "mysql" => :optional depends_on "jpeg" def install @@ -36,7 +36,7 @@ class Qt5 < Formula args << "-L#{MacOS::X11.prefix}/lib" << "-I#{MacOS::X11.prefix}/include" if MacOS::X11.installed? - args << "-plugin-sql-mysql" if build.include? 'with-mysql' + args << "-plugin-sql-mysql" if build.with? 'mysql' if build.include? 'with-qtdbus' args << "-I#{Formula.factory('d-bus').lib}/dbus-1.0/include" |
