From c4de1e3f45293a012a957da3371e299a818bcd10 Mon Sep 17 00:00:00 2001 From: Denis Denisov Date: Fri, 13 Jun 2014 15:11:01 +0400 Subject: libffi: Add --HEAD option Closes #30116. Signed-off-by: Mike McQuaid --- Library/Formula/libffi.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/libffi.rb b/Library/Formula/libffi.rb index f1e62d696..c0d168f77 100644 --- a/Library/Formula/libffi.rb +++ b/Library/Formula/libffi.rb @@ -13,11 +13,19 @@ class Libffi < Formula sha1 "c2ad5c7f63e06566494d92baa1e31c0c2190ea05" => :lion end + head do + url 'https://github.com/atgreen/libffi.git' + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + end + keg_only :provided_by_osx, "Some formulae require a newer version of libffi." def install ENV.deparallelize # https://github.com/Homebrew/homebrew/pull/19267 ENV.universal_binary + system "./autogen.sh" if build.head? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" -- cgit v1.2.3