From 644da5a43eb245409a8bcd55262ec9a92512a055 Mon Sep 17 00:00:00 2001 From: Tayler Mulligan Date: Tue, 30 Sep 2014 03:04:49 -0700 Subject: homebrew: use Makefile-defined defaults. #1259 Assuming homebrew always uses a clean workspace, a separate "cmake" step is not necessary. --- neovim.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/neovim.rb b/neovim.rb index 43f285baeb..0c3da577ca 100644 --- a/neovim.rb +++ b/neovim.rb @@ -11,8 +11,6 @@ class Neovim < Formula def install ENV.deparallelize - system "make", "deps" - system "cmake", "-DCMAKE_BUILD_TYPE=Debug", "-DCMAKE_PREFIX_PATH=.deps/usr", "-DLibUV_USE_STATIC=YES", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}" - system "make", "install" + system "make", "CMAKE_EXTRA_FLAGS=\"-DCMAKE_PREFIX_PATH=#{prefix}\"", "install" end end -- cgit