diff options
| author | Adam Vandenberg | 2010-04-06 22:58:35 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:53 -0700 |
| commit | d0efd9ee94a55e243f3b10e903526274fc21d569 (patch) | |
| tree | b21984390a0292957a3819df57c62bac558d284d /Library/Formula/qt.rb | |
| parent | cdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff) | |
| download | homebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2 | |
Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/qt.rb')
| -rw-r--r-- | Library/Formula/qt.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index 11c829727..7d5062067 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -12,7 +12,7 @@ class Qt <Formula ['--with-qt3support', "Enable deprecated Qt3Support module."], ] end - + def self.x11? File.exist? "/usr/X11R6/lib" end @@ -31,7 +31,6 @@ class Qt <Formula # 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' @@ -61,7 +60,7 @@ class Qt <Formula else conf_args << '-arch' << 'x86' end - + system "./configure", *conf_args system "make install" @@ -74,7 +73,7 @@ class Qt <Formula (bin+'qhelpconverter.app').rmtree # remove porting file for non-humans (prefix+'q3porting.xml').unlink - + # Some config scripts will only find Qt in a "Frameworks" folder # VirtualBox is an example of where this is needed # See: http://github.com/mxcl/homebrew/issues/issue/745 |
