blob: a2edf660b0b3778d7a719efcc450040df6788d5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  | 
require 'formula'
class BdwGc < Formula
  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'
  def install
    fails_with_llvm "LLVM gives an unsupported inline asm error"
    if MACOS_VERSION == 10.6
      # ucontext has been deprecated in 10.6
      # use this flag to force the header to compile
      ENV.append 'CPPFLAGS', "-D_XOPEN_SOURCE"
    end
    system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
    system "make install"
  end
end
  |