aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2009-07-24 15:10:01 +0100
committerMax Howell2009-07-24 23:57:54 +0100
commit3cf12261be1c99a5cebf0f59d508bc6eebf2e918 (patch)
treeb0bef6966e8c913f911b49084c22d515a3ce6477 /Library/Formula
parente8ac15795e2242d0354a140bc387ba82a04e770e (diff)
downloadhomebrew-3cf12261be1c99a5cebf0f59d508bc6eebf2e918.tar.bz2
Refactor--object orientate where sensible
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qt.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index 809af79f7..3e318c981 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -6,9 +6,9 @@ class Qt <Formula
@homepage='http://www.qtsoftware.com'
def install
- if version == '4.5.1'
+ if version == '4.5.2'
# Reported 6 months ago (at 4.5.0-rc1), still not fixed in the this release! :(
- makefiles=['plugins/sqldrivers/sqlite/sqlite.pro', '3rdparty/webkit/WebCore/WebCore.pro']
+ makefiles=%w[plugins/sqldrivers/sqlite/sqlite.pro 3rdparty/webkit/WebCore/WebCore.pro]
makefiles.each { |makefile| `echo 'LIBS += -lsqlite3' >> src/#{makefile}` }
end
@@ -22,9 +22,9 @@ class Qt <Formula
-fast
EOS
- system configure.gsub("\n", ' ').strip.squeeze(' ')
+ system configure.gsub("\n", '\\')
system "make install"
-
+
# fuck weird prl files
`find #{lib} -name \*.prl -delete`
# fuck crazy disk usage