Add patch to fix CMake pkg-config issue(s).

master
Mike McQuaid 2012-04-28 11:36:00 +10:00
parent bfc16d87db
commit e9461695b7
1 changed files with 5 additions and 0 deletions

View File

@ -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"