aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMatthew Hawkins2014-03-29 23:56:44 +1100
committerAdam Vandenberg2014-03-31 22:04:22 -0700
commit909d7f18ba5937e5de2f9e119e85420c48272178 (patch)
tree2d9550a91d4674e64d03e2e6529fdfebd36d9137 /Library/Formula
parent31bb0f62275ff0aebec02a93b9da79e769043dee (diff)
downloadhomebrew-909d7f18ba5937e5de2f9e119e85420c48272178.tar.bz2
vim: add luajit support
Add --with-luajit which passes through to the ./configure script to tell Vim to link against luajit instead of lua. Closes #27967. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/vim.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/vim.rb b/Library/Formula/vim.rb
index a6b6730b6..23bae9af4 100644
--- a/Library/Formula/vim.rb
+++ b/Library/Formula/vim.rb
@@ -29,6 +29,7 @@ class Vim < Formula
depends_on :python => :recommended
depends_on 'python3' => :optional
depends_on 'lua' => :optional
+ depends_on 'luajit' => :optional
depends_on 'gtk+' if build.with? 'client-server'
conflicts_with 'ex-vi',
@@ -60,6 +61,8 @@ class Vim < Formula
opts << "--without-x"
end
+ opts << "--with-luajit" if build.with? 'luajit'
+
# XXX: Please do not submit a pull request that hardcodes the path
# to ruby: vim can be compiled against 1.8.x or 1.9.3-p385 and up.
# If you have problems with vim because of ruby, ensure a compatible