homebrew: use Makefile-defined defaults. #1259

Assuming homebrew always uses a clean workspace, a separate "cmake" step
is not necessary.
This commit is contained in:
Tayler Mulligan 2014-09-30 03:04:49 -07:00 committed by Justin M. Keyes
parent 04b298ee75
commit 644da5a43e

View File

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