From 77f152a8358530051cd25fbf7373c769fe81f94e Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Mon, 26 Jul 2004 21:37:39 +0000 Subject: Add port dependency on GTK stuff and configure classpath to include it. --- java/jc/Makefile | 8 ++++---- java/jc/files/patch-classpath-0.10-20040726 | 14 ++++++++++++++ java/jc/pkg-plist | 6 +++--- 3 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 java/jc/files/patch-classpath-0.10-20040726 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 /* provides intptr_t */ ++#elif defined HAVE_INTTYPES_H ++#include ++#endif + #include /* va_list */ + #include "gthread-jni.h" + #include /* 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 -- cgit v1.2.3