aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libffi.rb8
1 files changed, 8 insertions, 0 deletions
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"