diff options
| author | Nibbles 2bits | 2011-10-14 23:21:09 -0700 |
|---|---|---|
| committer | Jack Nagel | 2011-10-15 09:14:32 -0500 |
| commit | ee696950522a598f437e367bb3e1652abc61486c (patch) | |
| tree | 8564adf6ead4d3ca93ee4ecf55f022340c1c8805 /Library | |
| parent | 5a1fcee33660be732c7841ffe71ad437e2eba5ce (diff) | |
| download | homebrew-ee696950522a598f437e367bb3e1652abc61486c.tar.bz2 | |
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/lzo.rb | 9 |
1 files changed, 5 insertions, 4 deletions
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 |
