mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
This reverts commit adee531526.
Turns out one of the "other things" is a dealbreaker.
We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.
So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
24 lines
645 B
Ruby
24 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
|