From c26a9c0a5a17a90e0aa0617bba2e861905bee41e Mon Sep 17 00:00:00 2001 From: Anders Bergh Date: Wed, 17 Dec 2014 07:48:33 +0100 Subject: luajit: use development branch for --devel Closes #35048. Signed-off-by: Mike McQuaid --- Library/Formula/luajit.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/luajit.rb b/Library/Formula/luajit.rb index 8410c0473..4255bbfc8 100644 --- a/Library/Formula/luajit.rb +++ b/Library/Formula/luajit.rb @@ -7,6 +7,11 @@ class Luajit < Formula head 'http://luajit.org/git/luajit-2.0.git' revision 1 + devel do + version '2.1' + url 'http://luajit.org/git/luajit-2.0.git', :branch => 'v2.1' + end + bottle do sha1 "9a6fc01ed0659ecc07a1e34daecdcf82cd150ca4" => :yosemite sha1 "7ed3346a644ca5cd73c51131c54060b13038208e" => :mavericks @@ -33,6 +38,9 @@ class Luajit < Formula # This doesn't yet work under superenv because it removes '-g' args << 'CCDEBUG=-g' if build.include? 'enable-debug' + # The development branch of LuaJIT normally does not install "luajit". + args << 'INSTALL_TNAME=luajit' if build.devel? + system 'make', 'amalg', *args system 'make', 'install', *args # Having an empty Lua dir in Lib can screw with the new Lua setup. -- cgit v1.2.3