summaryrefslogtreecommitdiff
path: root/package/libffi
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-08 17:03:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-08 17:03:40 +0100
commit380dc934feed42338dd3fb614f33aa3fe593d3e6 (patch)
tree52fe8111d59c711dcdd12d2e9225307891495425 /package/libffi
parent93184b47e538e678e7eb0c51b4e02a465d0f1d9c (diff)
fix include path
Diffstat (limited to 'package/libffi')
-rw-r--r--package/libffi/patches/patch-Makefile_in10
-rw-r--r--package/libffi/patches/patch-include_Makefile_in11
2 files changed, 21 insertions, 0 deletions
diff --git a/package/libffi/patches/patch-Makefile_in b/package/libffi/patches/patch-Makefile_in
new file mode 100644
index 000000000..e7888ea74
--- /dev/null
+++ b/package/libffi/patches/patch-Makefile_in
@@ -0,0 +1,10 @@
+--- libffi-3.0.9.orig/Makefile.in 2009-12-31 13:41:43.000000000 +0100
++++ libffi-3.0.9/Makefile.in 2010-01-08 16:59:03.198809559 +0100
+@@ -446,6 +446,7 @@ AM_MAKEFLAGS = \
+ "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
+ "SHELL=$(SHELL)" \
+ "exec_prefix=$(exec_prefix)" \
++ "includesdir=$(prefix)/include" \
+ "infodir=$(infodir)" \
+ "libdir=$(libdir)" \
+ "prefix=$(prefix)" \
diff --git a/package/libffi/patches/patch-include_Makefile_in b/package/libffi/patches/patch-include_Makefile_in
new file mode 100644
index 000000000..29e406b1e
--- /dev/null
+++ b/package/libffi/patches/patch-include_Makefile_in
@@ -0,0 +1,11 @@
+--- libffi-3.0.9.orig/include/Makefile.in 2009-12-31 13:41:01.000000000 +0100
++++ libffi-3.0.9/include/Makefile.in 2010-01-08 16:59:54.165484176 +0100
+@@ -203,7 +203,7 @@ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = foreign
+ DISTCLEANFILES = ffitarget.h
+ EXTRA_DIST = ffi.h.in ffi_common.h
+-includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
++includesdir = $(includesdir)
+ nodist_includes_HEADERS = ffi.h ffitarget.h
+ all: all-am
+