aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lua.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-18 21:18:15 -0700
committerAdam Vandenberg2011-03-18 21:18:15 -0700
commitf7127a851fc54e651fa69c60e7979780018b0163 (patch)
tree8ecd4710bd746ec97118f414b63f2fc833850787 /Library/Formula/lua.rb
parent36132f0cd5590f96e07a5cee6f5e947bead7456a (diff)
downloadhomebrew-f7127a851fc54e651fa69c60e7979780018b0163.tar.bz2
Lua 5.1.4 patch-level 3
Also, mark lua as "not working with LLVM". This is not strictly true, as Lua itself will compile with llvm, but other software linking to lua (such as gnuplot) may then fail to link. So to be safe, flag Lua itself.
Diffstat (limited to 'Library/Formula/lua.rb')
-rw-r--r--Library/Formula/lua.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb
index 670b824b5..f4da706ce 100644
--- a/Library/Formula/lua.rb
+++ b/Library/Formula/lua.rb
@@ -9,9 +9,11 @@ class Lua < Formula
skip_clean :all
def install
+ fails_with_llvm "Lua itself compiles with llvm, but may fail when other software trys to link."
+
# Apply patch-level 2
- curl "http://www.lua.org/ftp/patch-lua-5.1.4-2", "-O"
- safe_system '/usr/bin/patch', '-d', 'src', '-i', '../patch-lua-5.1.4-2'
+ curl "http://www.lua.org/ftp/patch-lua-5.1.4-3", "-O"
+ safe_system '/usr/bin/patch', '-d', 'src', '-i', '../patch-lua-5.1.4-3'
# we could use the patches method if it supported additional arguments (-d in our case)
# Use our CC/CFLAGS to compile.