vim: fix MacOS.clt_installed? deprecation
Thanks to ThorstenRhau on Twitter for the heads-up here.
This commit is contained in:
parent
592aed0270
commit
29d5372b4f
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class Vim < Formula
|
||||||
# vim doesn't require any Python package, unset PYTHONPATH.
|
# vim doesn't require any Python package, unset PYTHONPATH.
|
||||||
ENV.delete("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
|
# break -syslibpath jail
|
||||||
ln_s "/System/Library/Frameworks", buildpath
|
ln_s "/System/Library/Frameworks", buildpath
|
||||||
ENV.append "LDFLAGS", "-F#{buildpath}/Frameworks"
|
ENV.append "LDFLAGS", "-F#{buildpath}/Frameworks"
|
||||||
|
|
Loading…
Reference in a new issue