diff options
| author | Yuki Iwanaga | 2014-11-06 23:58:51 +0900 |
|---|---|---|
| committer | Jack Nagel | 2014-11-09 17:15:11 -0600 |
| commit | 550af8c82fde3bf6b06378000802a43bca452590 (patch) | |
| tree | 69accacdc18275b8c2ea385757ca764e6015fe27 /Library | |
| parent | 1562c150789829e6a1330fed47697c580058ca82 (diff) | |
| download | homebrew-550af8c82fde3bf6b06378000802a43bca452590.tar.bz2 | |
vim: fix with-luajit option
Closes #33967.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/vim.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/vim.rb b/Library/Formula/vim.rb index 0103db3da..478c12cd4 100644 --- a/Library/Formula/vim.rb +++ b/Library/Formula/vim.rb @@ -37,7 +37,7 @@ class Vim < Formula :because => "vim and ex-vi both install bin/ex and bin/view" def install - ENV["LUA_PREFIX"] = HOMEBREW_PREFIX if build.with?("lua") + ENV["LUA_PREFIX"] = HOMEBREW_PREFIX if build.with?("lua") || build.with?("luajit") # vim doesn"t require any Python package, unset PYTHONPATH. ENV.delete("PYTHONPATH") @@ -65,7 +65,10 @@ class Vim < Formula opts << "--without-x" end - opts << "--with-luajit" if build.with? "luajit" + if build.with? "luajit" + opts << "--with-luajit" + opts << "--enable-luainterp" + end # 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. |
