aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cmake.rb30
1 files changed, 5 insertions, 25 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index 4b6d0d08f..a70c0baf9 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -18,32 +18,17 @@ end
class Cmake < Formula
homepage 'http://www.cmake.org/'
- url 'http://www.cmake.org/files/v2.8/cmake-2.8.8.tar.gz'
- sha1 'a74dfc3e0a0d7f857ac5dda03bb99ebf07676da1'
+ url 'http://www.cmake.org/files/v2.8/cmake-2.8.9.tar.gz'
+ sha1 'b96663c0757a5edfbddc410aabf7126a92131e2b'
bottle do
- version 3
- sha1 '64e1a488bc669f7676c99874b8496ac147d1bc70' => :mountainlion
- sha1 'bdfb5fcd6743d65f6cfe00b314f9d3f1049e902b' => :lion
- sha1 '3a77fc17a7b1d3cceabddcca5c126c6b911c2f90' => :snowleopard
+ sha1 'ae7e0cf39556ea0a32e7bb7716ac820734ca7918' => :mountainlion
+ sha1 '6631aaeeafb9209e711508ad72727fbb4b5ab295' => :lion
+ sha1 'ea52f2a18b00f3404e8bf73c12c3da1d9a39f128' => :snowleopard
end
depends_on NoExpatFramework.new
- option 'enable-ninja', 'Enable Ninja build system support'
-
- def patches
- [
- # Correct FindPkgConfig found variable. Remove for CMake 2.8.9.
- "https://github.com/Kitware/CMake/commit/3ea850.patch",
- # Workaround DeployQt4 issue. Remove for CMake 2.8.9.
- "https://github.com/Kitware/CMake/commit/374b9b.patch",
- # Protect the default value of CMAKE_FIND_FRAMEWORK so that it can be
- # overridden from the command line. Remove for CMake 2.8.9.
- "https://github.com/Kitware/CMake/commit/8b2fb3.patch"
- ]
- end
-
def install
args = %W[
--prefix=#{prefix}
@@ -54,11 +39,6 @@ class Cmake < Formula
--mandir=/share/man
]
- if build.include? "enable-ninja"
- args << "--"
- args << "-DCMAKE_ENABLE_NINJA=1"
- end
-
system "./bootstrap", *args
system "make"
system "make install"