summaryrefslogtreecommitdiff
path: root/java/jc
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2004-07-26 21:37:39 +0000
committerArchie Cobbs <archie@FreeBSD.org>2004-07-26 21:37:39 +0000
commit77f152a8358530051cd25fbf7373c769fe81f94e (patch)
tree9f3592a96fae71e1b20132e2c13bcb6f228debfd /java/jc
parentAdd p5-Email-Abstract 1.0, unified interface to mail representations. (diff)
Add port dependency on GTK stuff and configure classpath to include it.
Notes
Notes: svn path=/head/; revision=114813
Diffstat (limited to 'java/jc')
-rw-r--r--java/jc/Makefile8
-rw-r--r--java/jc/files/patch-classpath-0.10-2004072614
-rw-r--r--java/jc/pkg-plist6
3 files changed, 21 insertions, 7 deletions
diff --git a/java/jc/Makefile b/java/jc/Makefile
index 539fb58e79a9..fd0ccb384cba 100644
--- a/java/jc/Makefile
+++ b/java/jc/Makefile
@@ -21,7 +21,9 @@ COMMENT= JVM that converts class files to C source and compiles them with GCC
BUILD_DEPENDS= jikes:${PORTSDIR}/java/jikes \
zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
- ffi.2:${PORTSDIR}/devel/libffi
+ ffi.2:${PORTSDIR}/devel/libffi \
+ gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20 \
+ art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2
USE_LIBTOOL_VER=15
LIBTOOLFILES= ${CLASSPATHDIR}/configure
@@ -35,8 +37,6 @@ PATCH_WRKSRC= ${WRKDIR}
INFO= jc
ONLY_FOR_ARCHS= i386
-PLIST_SUB+= GNOME:="@comment "
-
# Directories for the two source components
JCDIR= ${PORTNAME}-${PORTVERSION}
CLASSPATHDIR= classpath-${CLASSPATHVERSION}
@@ -48,7 +48,7 @@ CLASSPATHVERSION=0.10
JIKESVERSION= 1.21
# Configure args
-CLASSPATH_CONF= --prefix=${PREFIX}/jc --enable-jni --with-jikes --disable-gtk-peer
+CLASSPATH_CONF= --prefix=${PREFIX}/jc --enable-jni --with-jikes
CONFIGURE_ARGS= --prefix=${PREFIX}
pre-configure:
diff --git a/java/jc/files/patch-classpath-0.10-20040726 b/java/jc/files/patch-classpath-0.10-20040726
new file mode 100644
index 000000000000..b31f85931cd4
--- /dev/null
+++ b/java/jc/files/patch-classpath-0.10-20040726
@@ -0,0 +1,14 @@
+--- classpath-0.10/native/jni/gtk-peer/gthread-jni.c Mon Jul 19 08:49:17 2004
++++ classpath-0.10/native/jni/gtk-peer/gthread-jni.c Mon Jul 26 16:22:55 2004
+@@ -218,7 +218,11 @@
+ /* Global data */
+ /************************************************************************/
+
++#if defined HAVE_STDINT_H
+ #include <stdint.h> /* provides intptr_t */
++#elif defined HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
+ #include <stdarg.h> /* va_list */
+ #include "gthread-jni.h"
+ #include <assert.h> /* assert() */
diff --git a/java/jc/pkg-plist b/java/jc/pkg-plist
index c0ba004e92cc..10fd24b2fa58 100644
--- a/java/jc/pkg-plist
+++ b/java/jc/pkg-plist
@@ -1,6 +1,3 @@
-%%GNOME:%%jc/lib/classpath/libgtkpeer.la
-%%GNOME:%%jc/lib/classpath/libgtkpeer.so
-%%GNOME:%%jc/lib/classpath/libgtkpeer.so.0
bin/jc
jc/bin/cfdump
jc/bin/genobj
@@ -68,6 +65,9 @@ jc/info/dir
jc/info/hacking.info
jc/info/vmintegration.info
jc/lib/awt/font.properties
+jc/lib/classpath/libgtkpeer.la
+jc/lib/classpath/libgtkpeer.so
+jc/lib/classpath/libgtkpeer.so.0
jc/lib/classpath/libjavaawt.la
jc/lib/classpath/libjavaawt.so
jc/lib/classpath/libjavaawt.so.0