summaryrefslogtreecommitdiffstats
path: root/java/jc
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2004-03-10 19:43:18 +0000
committerarchie <archie@FreeBSD.org>2004-03-10 19:43:18 +0000
commit926fcc0fc300b5b695341d84ef2e6ab7b64c71f3 (patch)
treec73bc0522c685821695d0bd5f9320a07a7885152 /java/jc
parentff4ed5fc51cdc55aea10609d691018cab4cbb115 (diff)
downloadFreeBSD-ports-926fcc0fc300b5b695341d84ef2e6ab7b64c71f3.zip
FreeBSD-ports-926fcc0fc300b5b695341d84ef2e6ab7b64c71f3.tar.gz
Fix build with a patch from CVS.
Diffstat (limited to 'java/jc')
-rw-r--r--java/jc/Makefile4
-rw-r--r--java/jc/files/patch-ab23
2 files changed, 25 insertions, 2 deletions
diff --git a/java/jc/Makefile b/java/jc/Makefile
index b24e2a6..7e979a3 100644
--- a/java/jc/Makefile
+++ b/java/jc/Makefile
@@ -22,8 +22,8 @@ BUILD_DEPENDS= jikes:${PORTSDIR}/java/jikes \
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
ffi.2:${PORTSDIR}/devel/libffi
-USE_LIBTOOL= yes
-LIBTOOLFILES= ${JCDIR}/aclocal.m4 ${CLASSPATHDIR}/aclocal.m4
+#USE_LIBTOOL= yes
+#LIBTOOLFILES= ${JCDIR}/aclocal.m4 ${CLASSPATHDIR}/aclocal.m4
USE_GMAKE= yes
INSTALLS_SHLIB= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
diff --git a/java/jc/files/patch-ab b/java/jc/files/patch-ab
new file mode 100644
index 0000000..17afe43
--- /dev/null
+++ b/java/jc/files/patch-ab
@@ -0,0 +1,23 @@
+diff -u -r1.2 libjc.h
+--- jc-1.0.1/libjc/libjc.h 28 Feb 2004 04:20:48 -0000 1.2
++++ jc-1.0.1/libjc/libjc.h 10 Mar 2004 19:29:19 -0000
+@@ -33,7 +33,6 @@
+ #include <pwd.h>
+ #include <elf.h>
+
+-#include <ltdl.h>
+ #include <zlib.h>
+
+ #include <openssl/md5.h>
+diff -u -r1.3 structures.h
+--- jc-1.0.1/libjc/structures.h 23 Feb 2004 19:46:35 -0000 1.3
++++ jc-1.0.1/libjc/structures.h 10 Mar 2004 19:29:19 -0000
+@@ -466,7 +466,7 @@
+ */
+ struct _jc_native_lib {
+ char *name;
+- lt_dlhandle handle;
++ void *handle;
+ STAILQ_ENTRY(_jc_native_lib) link;
+ };
+
OpenPOWER on IntegriCloud