summaryrefslogtreecommitdiff
path: root/java/sablevm/files/patch-ab
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2002-07-09 22:08:30 +0000
committerArchie Cobbs <archie@FreeBSD.org>2002-07-09 22:08:30 +0000
commitf685b62b06656bebe92069a7b456991703ecddf7 (patch)
treee1669db8f0de21c7d380ea6d27e369b1e5d66cd9 /java/sablevm/files/patch-ab
parentThis port builds and installs a version of the GNU Classpath Java class (diff)
SableVM implements the Java virtual machine specification, second edition.
SableVM is a bytecode interpreter. It's goals are to be reasonably small, efficient, and fast, as well as providing a well-designed platform for doing research into different algorithms for bytecode interpretation, garbage collection, memory management, etc. SableVM uses a modified version of the GNU Classpath Java classes; these classes are installed by the "sablepath" port. WWW: http://www.sablevm.org/
Notes
Notes: svn path=/head/; revision=62726
Diffstat (limited to 'java/sablevm/files/patch-ab')
-rw-r--r--java/sablevm/files/patch-ab19
1 files changed, 19 insertions, 0 deletions
diff --git a/java/sablevm/files/patch-ab b/java/sablevm/files/patch-ab
new file mode 100644
index 000000000000..8694a0efaf99
--- /dev/null
+++ b/java/sablevm/files/patch-ab
@@ -0,0 +1,19 @@
+diff -ur sablevm-0.1.6.orig/configure.in sablevm-0.1.6/configure.in
+--- sablevm-0.1.6.orig/configure.in Fri Apr 27 21:14:41 2001
++++ sablevm-0.1.6/configure.in Mon Jul 8 18:12:47 2002
+@@ -47,12 +47,13 @@
+ AC_LIBTOOL_DLOPEN
+ AM_PROG_LIBTOOL
+
++dnl Required FreeBSD compile flags
++CFLAGS="$CFLAGS -D_P1003_1B_VISIBLE -pthread -I/usr/local/include -L/usr/local/lib"
++
+ dnl Checks for libraries.
+-AC_CHECK_LIB(dl,dlopen,echo -n,echo ***ERROR: libdl is missing; exit 1)
+ AC_CHECK_LIB(ffi,ffi_prep_cif,echo -n,echo ***ERROR: libffi is missing; exit 1)
+ AC_CHECK_LIB(m,fmod,echo -n,echo ***ERROR: libm is missing; exit 1)
+ AC_CHECK_LIB(popt,poptGetContext,echo -n,echo ***ERROR: libpopt is missing; exit 1)
+-AC_CHECK_LIB(pthread,pthread_self,echo -n,echo ***ERROR: libpthread is missing; exit 1)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC