diff options
| author | rhysd | 2013-09-04 00:50:51 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-12 20:27:27 -0700 |
| commit | d59c4652a968f37b63023739159d61082344056a (patch) | |
| tree | beeb0c4e25a68e20bc821d1cf973df33e5aa4544 /Library/Formula/macvim.rb | |
| parent | f5af0cb99853bf5323f31694b93b36aed3b5cbc0 (diff) | |
| download | homebrew-d59c4652a968f37b63023739159d61082344056a.tar.bz2 | |
macvim: add --with-luajit option
This option links luajit instead of lua.
Closes #22287.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/macvim.rb')
| -rw-r--r-- | Library/Formula/macvim.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index 81173b0bf..cc60dacb7 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -15,6 +15,7 @@ class Macvim < Formula depends_on :xcode depends_on 'cscope' => :recommended depends_on 'lua' => :optional + depends_on 'luajit' => :optional depends_on :python => :recommended # Help us! :python3 in MacVim makes the window disappear, so only 2.x bindings! @@ -51,6 +52,12 @@ class Macvim < Formula args << "--with-lua-prefix=#{HOMEBREW_PREFIX}" end + if build.with? "luajit" + args << "--enable-luainterp" + args << "--with-lua-prefix=#{HOMEBREW_PREFIX}" + args << "--with-luajit" + end + args << "--enable-pythoninterp=yes" if build.with? 'python' # MacVim seems to link Python by `-framework Python` (instead of |
