From 29d5372b4f296644a580a17ecb2aafe0cab4ab60 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sun, 31 Jul 2016 21:14:19 +0100 Subject: [PATCH] vim: fix MacOS.clt_installed? deprecation Thanks to ThorstenRhau on Twitter for the heads-up here. --- Formula/vim.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/vim.rb b/Formula/vim.rb index c88f6a0dda..070150ba45 100644 --- a/Formula/vim.rb +++ b/Formula/vim.rb @@ -55,7 +55,7 @@ class Vim < Formula # vim doesn't require any Python package, unset PYTHONPATH. ENV.delete("PYTHONPATH") - if build.with?("python") && which("python").to_s == "/usr/bin/python" && !MacOS.clt_installed? + if build.with?("python") && which("python").to_s == "/usr/bin/python" && !MacOS::CLT.installed? # break -syslibpath jail ln_s "/System/Library/Frameworks", buildpath ENV.append "LDFLAGS", "-F#{buildpath}/Frameworks"