aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-09-29 02:14:37 -0700
committerAdam Vandenberg2013-09-29 02:14:37 -0700
commitf3e44d345e0e3acc139ced42c7f1bf8740b8d53a (patch)
treea0968a54e0115227b2461f37b440114c617bca21 /Library/Formula
parent1a39aa3683c2bdff59eebe18401b93f930d08418 (diff)
downloadhomebrew-f3e44d345e0e3acc139ced42c7f1bf8740b8d53a.tar.bz2
vim: fix lua option
Closes #21963.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/vim.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/vim.rb b/Library/Formula/vim.rb
index 63064bd7c..ee95e622d 100644
--- a/Library/Formula/vim.rb
+++ b/Library/Formula/vim.rb
@@ -27,9 +27,10 @@ class Vim < Formula
end
depends_on :python => :recommended
+ depends_on 'lua' => :optional
def install
- ENV['LUA_PREFIX'] = HOMEBREW_PREFIX
+ ENV['LUA_PREFIX'] = HOMEBREW_PREFIX if build.with?('lua')
opts = []
opts += LANGUAGES_OPTIONAL.map do |language|