aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/luarocks.rb
diff options
context:
space:
mode:
authorBrett Koonce2014-01-17 16:56:08 -0600
committerBrett Koonce2014-01-18 13:01:00 -0600
commitd12853ebd7740da51377b9dbd4db1aa5535a027e (patch)
tree9c1af151d3ea51f59d4b6c27ed0bcaa985fd40ef /Library/Formula/luarocks.rb
parent77fe70bcea2be31b66f8e3224f65ace1eaadd8ce (diff)
downloadhomebrew-d12853ebd7740da51377b9dbd4db1aa5535a027e.tar.bz2
luarocks: fix with-luajit not finding lua headers
Closes #26004. Closes #25954. Signed-off-by: Brett Koonce <koonce@gmail.com>
Diffstat (limited to 'Library/Formula/luarocks.rb')
-rw-r--r--Library/Formula/luarocks.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/luarocks.rb b/Library/Formula/luarocks.rb
index 9f54bcd61..ff18bee80 100644
--- a/Library/Formula/luarocks.rb
+++ b/Library/Formula/luarocks.rb
@@ -11,6 +11,9 @@ class Luarocks < Formula
if build.include? 'with-luajit'
depends_on 'luajit'
+ # luajit depends internally on lua being installed
+ # and is only 5.1 compatible, see #25954
+ depends_on 'lua'
elsif build.include? 'with-lua52'
depends_on 'lua52'
else