From 13e5880f7c53f015274d3b471e2811230a4864d0 Mon Sep 17 00:00:00 2001 From: Juan Wajnerman Date: Mon, 28 Sep 2015 11:26:29 -0300 Subject: [PATCH] bdw-gc: add head Closes Homebrew/homebrew#44407. Signed-off-by: Dominyk Tiller --- Formula/bdw-gc.rb | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Formula/bdw-gc.rb b/Formula/bdw-gc.rb index c6fc8835f2..505bf3ffa2 100644 --- a/Formula/bdw-gc.rb +++ b/Formula/bdw-gc.rb @@ -4,9 +4,6 @@ class BdwGc < Formula url "http://www.hboehm.info/gc/gc_source/gc-7.4.2.tar.gz" sha256 "63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2" - depends_on "pkg-config" => :build - depends_on "libatomic_ops" => :build - bottle do revision 2 sha256 "ba0257546369cd1879d66d3f1302194ae39767ccb5b012a20d16fdf5595b4326" => :el_capitan @@ -15,10 +12,22 @@ class BdwGc < Formula sha256 "e5725f4c6b23ce7dc75e3e8fff51cd1f9f90858bad20d1ce00cf33499edf8f6b" => :mountain_lion end + head do + url "https://github.com/ivmai/bdwgc.git" + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + end + option :universal + depends_on "pkg-config" => :build + depends_on "libatomic_ops" => :build + def install ENV.universal_binary if build.universal? + + system "./autogen.sh" if build.head? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}",