From 4d1ef71dc065ef674154cbd0cf809be1fa3db0f3 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Fri, 22 Feb 2013 10:21:36 -0600 Subject: vim: disable stripping With stripping enabled, vim will segfault when calling a statically- linked interpreter like ruby. Fixes #17904.--- Library/Formula/vim.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/vim.rb b/Library/Formula/vim.rb index ab08a2fdf..b4f7c0459 100644 --- a/Library/Formula/vim.rb +++ b/Library/Formula/vim.rb @@ -50,6 +50,9 @@ class Vim < Formula "--with-features=huge", *language_opts system "make" - system "make", "install", "prefix=#{prefix}" + # If stripping the binaries is not enabled, vim will segfault with + # statically-linked interpreters like ruby + # http://code.google.com/p/vim/issues/detail?id=114&thanks=114&ts=1361483471 + system "make", "install", "prefix=#{prefix}", "STRIP=/usr/bin/true" end end -- cgit v1.2.3