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 Homebrew/homebrew#27967. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
ea73e479b9
commit
57b36cf922
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue