summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-03-01 19:09:54 +0000
committerJay Freeman <saurik@saurik.com>2008-03-01 19:09:54 +0000
commitb9f04c36b3ccbe9f3c21848acfa026f054805d57 (patch)
tree97c5b26e42934fbcc37f7774469934fdf9760f33
parent70d383934e6a4867682f5ef96f948b234fecd11e (diff)
Correctly removed libffi dependency from JamVM.
git-svn-id: http://svn.telesphoreo.org/trunk@132 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r--data/jamvm/libffi.diff17
-rw-r--r--data/jamvm/make.sh3
2 files changed, 19 insertions, 1 deletions
diff --git a/data/jamvm/libffi.diff b/data/jamvm/libffi.diff
new file mode 100644
index 000000000..ced02134d
--- /dev/null
+++ b/data/jamvm/libffi.diff
@@ -0,0 +1,17 @@
+diff -ru jamvm-1.5.1/configure.ac jamvm-1.5.1+iPhone/configure.ac
+--- jamvm-1.5.1/configure.ac 2007-12-16 04:05:21.000000000 +0000
++++ jamvm-1.5.1+iPhone/configure.ac 2008-03-01 05:16:44.000000000 +0000
+@@ -238,10 +238,9 @@
+ enable_zip=no
+ fi])
+
+-AC_CHECK_LIB(ffi,ffi_call,,
+- [if test "$enable_ffi" != no; then
+- AC_MSG_ERROR(cannot find libffi)
+- fi])
++if test "$enable_ffi" != no; then
++ AC_CHECK_LIB(ffi,ffi_call,,AC_MSG_ERROR(cannot find libffi))
++fi
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/data/jamvm/make.sh b/data/jamvm/make.sh
index 8e9332b11..117fc4093 100644
--- a/data/jamvm/make.sh
+++ b/data/jamvm/make.sh
@@ -1,7 +1,8 @@
pkg:extract
cd *
pkg:patch
-CFLAGS=-O0 pkg:configure --with-classpath-install-dir=/usr --disable-ffi
+autoconf
+CFLAGS=-O0 pkg:configure --with-classpath-install-dir=/usr --enable-ffi=no
make
pkg:install
pkg: rm -rf /usr/include