From 7f7f0f7e3df7c2ee51850f69e10bdeda801090b2 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Fri, 1 Aug 2014 17:37:26 -0400
Subject: [PATCH] actual libffi support!

---
 builds/libraries/vendor/libffi | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/builds/libraries/vendor/libffi b/builds/libraries/vendor/libffi
index 7e32b09d..78fb60f9 100755
--- a/builds/libraries/vendor/libffi
+++ b/builds/libraries/vendor/libffi
@@ -12,17 +12,10 @@ echo "Building libffi..."
 
 SOURCE_TARBALL='http://cl.ly/2s1t1u3v0N0I/download/libffi-3.1.tar'
 
-curl -L $SOURCE_TARBALL | tar xz
+curl -L $SOURCE_TARBALL | tar x
 
 cd libffi-3.1
-
-
-sed -e '/^includesdir/ s:$(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include:$(includedir):' \
-    -i include/Makefile.in &&
-sed -e '/^includedir/ s:${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include:@includedir@:' \
-    -e 's/^Cflags: -I${includedir}/Cflags:/' \
-    -i libffi.pc.in        &&
-./configure --prefix=/usr --disable-static &&
+./configure --prefix=$OUT_PREFIX --disable-static &&
 make
 make install
 
-- 
GitLab