2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 17:59:58 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class BdwGc < Formula
|
2009-11-21 06:52:02 +00:00
|
|
|
url 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz'
|
|
|
|
homepage 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/'
|
|
|
|
md5 '2ff9924c7249ef7f736ecfe6f08f3f9b'
|
2009-09-19 17:59:58 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
fails_with_llvm "LLVM gives an unsupported inline asm error"
|
2010-06-16 18:50:36 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
def install
|
2011-04-08 18:16:37 +00:00
|
|
|
# ucontext has been deprecated in 10.6
|
|
|
|
# use this flag to force the header to compile
|
|
|
|
ENV.append 'CPPFLAGS', "-D_XOPEN_SOURCE" if MacOS.snow_leopard?
|
2009-09-19 17:59:58 +00:00
|
|
|
|
2011-04-08 18:16:37 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-09-19 17:59:58 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|