1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Add port dependency on GTK stuff and configure classpath to include it.

This commit is contained in:
Archie Cobbs 2004-07-26 21:37:39 +00:00
parent 4408aa2cc1
commit 77f152a835
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114813
3 changed files with 21 additions and 7 deletions

View File

@ -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:

View File

@ -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() */

View File

@ -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