--- include/Makefile.in.orig	2014-11-12 08:59:58.000000000 -0300
+++ include/Makefile.in	2017-08-29 16:27:59.558042780 -0300
@@ -314,7 +314,7 @@
 AUTOMAKE_OPTIONS = foreign
 DISTCLEANFILES = ffitarget.h
 EXTRA_DIST = ffi.h.in ffi_common.h
-includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
+includesdir = $(includedir)
 nodist_includes_HEADERS = ffi.h ffitarget.h
 all: all-am
 
--- libffi.pc.in.orig	2014-11-08 09:47:24.000000000 -0300
+++ libffi.pc.in	2017-08-29 16:28:49.034043621 -0300
@@ -2,10 +2,10 @@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 toolexeclibdir=@toolexeclibdir@
-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
+includedir=@includedir@
 
 Name: @PACKAGE_NAME@
 Description: Library supporting Foreign Function Interfaces
 Version: @PACKAGE_VERSION@
 Libs: -L${toolexeclibdir} -lffi
-Cflags: -I${includedir}
+Cflags:
