aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/qwt.rb
diff options
context:
space:
mode:
authorTzu-ping Chung2011-08-27 08:51:56 +0800
committerCharlie Sharpsteen2011-08-27 09:27:39 -0700
commit123efb3977fa425ec102458f4328036e2a55d66c (patch)
tree97287b0027297737cc2c9ce02e758f40c0632d56 /Library/Formula/qwt.rb
parent0c038655a753801581aa96812e90800ac23d9017 (diff)
downloadhomebrew-123efb3977fa425ec102458f4328036e2a55d66c.tar.bz2
QWT: Modify installation proceedure
The old formula would not generate Makefile correctly if the user configures the system to use Qt toolchains from Nokia. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/qwt.rb')
-rw-r--r--Library/Formula/qwt.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/qwt.rb b/Library/Formula/qwt.rb
index d79b8dc67..677d1f05a 100644
--- a/Library/Formula/qwt.rb
+++ b/Library/Formula/qwt.rb
@@ -13,7 +13,8 @@ class Qwt < Formula
s.gsub! /^\s*QWT_INSTALL_PREFIX\s*=(.*)$/, "QWT_INSTALL_PREFIX=#{prefix}"
end
- system "qmake -config release"
+ system "qmake -spec macx-g++ -config release"
+ system "make"
system "make install"
end
end