8b07aec58a
Upgrade dwarf to version 0.3.0 Add a `fails_with :clang` block and comments indicating the bug report upstream. It works well using llvm on Lion. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
23 lines
645 B
Ruby
23 lines
645 B
Ruby
require 'formula'
|
|
|
|
class Dwarf < Formula
|
|
homepage 'http://code.autistici.org/trac/dwarf'
|
|
url 'http://dwarf-ng.googlecode.com/files/dwarf-0.3.0.tar.gz'
|
|
sha1 '19a69424bd208741a325a4fc0e791a516c3bc8bc'
|
|
|
|
head 'http://code.autistici.org/svn/dwarf/trunk'
|
|
|
|
depends_on 'readline'
|
|
|
|
# There's a subtle error in C99 handling of stdint.h and inttypes.h.
|
|
# Reported upstream: http://code.autistici.org/trac/dwarf/ticket/8
|
|
fails_with :clang do
|
|
build 318
|
|
cause "error: unknown type name 'intmax_t'"
|
|
end
|
|
|
|
def install
|
|
system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
|
|
system "make install"
|
|
end
|
|
end
|