From ee696950522a598f437e367bb3e1652abc61486c Mon Sep 17 00:00:00 2001 From: Nibbles 2bits Date: Fri, 14 Oct 2011 23:21:09 -0700 Subject: lzo 2.06 and remove asm disable This commit updates lzo to version 2.06 and removes a configure flag that was forcing --disable-asm. The asm passes make check. The asm will automatically detect correctly if you are building for only 32bit (by forcing -arch i386). That option was not coded in, forcing 32bit, because 64bit is generally faster. The make check was left in because this is a compression lib, and we don't want data corruption. This compiles with llvm, gcc-4.2.1, and clang-2.0 on 32bit and 64bit OSX 10.6.8, and it passes all checks, which take less than a half-second. Closes #8128. Signed-off-by: Jack Nagel --- Library/Formula/lzo.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/lzo.rb b/Library/Formula/lzo.rb index 560841405..03e7bf5fa 100644 --- a/Library/Formula/lzo.rb +++ b/Library/Formula/lzo.rb @@ -2,14 +2,15 @@ require 'formula' class Lzo < Formula homepage 'http://www.oberhumer.com/opensource/lzo/' - url 'http://www.oberhumer.com/opensource/lzo/download/lzo-2.05.tar.gz' - sha256 '449f98186d76ba252cd17ff1241ca2a96b7f62e0d3e4766f88730dab0ea5f333' + url 'http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz' + sha256 'ff79e6f836d62d3f86ef6ce893ed65d07e638ef4d3cb952963471b4234d43e73' def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", - "--disable-asm", - "--enable-shared=yes" + "--enable-shared" + system "make" + system "make check" system "make install" end end -- cgit v1.2.3