mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -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.
22 lines
706 B
Ruby
22 lines
706 B
Ruby
require 'formula'
|
|
|
|
class Cgdb < Formula
|
|
homepage 'http://cgdb.sourceforge.net/'
|
|
url 'http://downloads.sourceforge.net/project/cgdb/cgdb/cgdb-0.6.6/cgdb-0.6.6.tar.gz'
|
|
sha1 'bf1d9a66909a03220438a4126bb39850bdbfea65'
|
|
|
|
depends_on 'readline'
|
|
|
|
# man page for cgdb is only there to point people to the info page where all
|
|
# of the actual documentation is, so skip cleaning the info to preserve the
|
|
# documentation
|
|
skip_clean 'share/info'
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-readline=#{Formula.factory('readline').prefix}"
|
|
system "make install"
|
|
end
|
|
end
|