From 866ef3e3ac3190c6c638bd2e3f8b39876ffc3589 Mon Sep 17 00:00:00 2001 From: Brett Koonce Date: Fri, 17 Jan 2014 16:56:08 -0600 Subject: [PATCH] luarocks: fix with-luajit not finding lua headers --- Library/Formula/luarocks.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Formula/luarocks.rb b/Library/Formula/luarocks.rb index 9f54bcd612f7..ff18bee807c8 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