aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-07-25 12:36:36 -0700
committerAdam Vandenberg2011-07-25 12:41:32 -0700
commit294d8951dd9cd898932e833bdd8354c2911a42e4 (patch)
tree5738035b656eec10ce1bab952d53aea55e5b5953 /Library/Formula
parent032ad849911e2a9bcdc9e784d56cf70070924d62 (diff)
downloadhomebrew-294d8951dd9cd898932e833bdd8354c2911a42e4.tar.bz2
CMake: Fix discovery of Qt libraries with 2.8.5
CMake 2.8.5 fails to find some Qt libraries that CMake 2.8.4 could find. Added a patch that corrects this behavior. See discussion on the CMake mailing list: http://cmake.3232098.n2.nabble.com/FindQt4-errors-out-when-locating-QtUITools-under-CMake-2-8-5-td6619091.html Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cmake.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index 10566ac63..68631aa94 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -5,6 +5,17 @@ class Cmake < Formula
md5 '3c5d32cec0f4c2dc45f4c2e84f4a20c5'
homepage 'http://www.cmake.org/'
+ def patches
+ # CMake 2.8.5 fails to find some Qt libraries that CMake 2.8.4 could find.
+ # The following patch corrects this behavior. See discussion on the CMake
+ # mailing list:
+ #
+ # http://cmake.3232098.n2.nabble.com/FindQt4-errors-out-when-locating-QtUITools-under-CMake-2-8-5-td6619091.html
+ #
+ # Patch can be removed after next CMake release.
+ {:p1 => "http://cmake.org/gitweb?p=cmake.git;a=patch;h=702538eaa3315f3fcad9f1daea01e6a83928967b"}
+ end
+
def install
# A framework-installed expat will be detected and mess things up.
if File.exist? "/Library/Frameworks/expat.framework"