vim: fix MacOS.clt_installed? deprecation

Thanks to ThorstenRhau on Twitter for the heads-up here.
This commit is contained in:
Dominyk Tiller 2016-07-31 21:14:19 +01:00
parent 592aed0270
commit 29d5372b4f
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

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