aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2012-04-28 11:36:00 +1000
committerMike McQuaid2012-04-28 14:13:22 +1000
commitd9764e126ba69da9a3202a51022c4f427649ae6e (patch)
tree3aa1a5d19adaaa031c0da8ba81619dc575f9a617
parent9564884856612e3fb9139591fa6b679e8e6070c3 (diff)
downloadhomebrew-d9764e126ba69da9a3202a51022c4f427649ae6e.tar.bz2
Add patch to fix CMake pkg-config issue(s).
-rw-r--r--Library/Formula/cmake.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index 9bf37c420..f2863101f 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -10,6 +10,11 @@ class Cmake < Formula
sha1 '4d25a7ca3f41750d957fe1cfd53ecb37c713efad' => :snowleopard
end
+ def patches
+ # Correct FindPkgConfig found variable. Remove for CMake 2.8.9.
+ "https://github.com/Kitware/CMake/commit/3ea850.patch"
+ end
+
def install
# A framework-installed expat will be detected and mess things up.
if File.exist? "/Library/Frameworks/expat.framework"