summaryrefslogtreecommitdiff
path: root/java/classpath
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-10-25 13:56:34 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-10-25 13:56:34 +0000
commitbb902e96d265c330582b5e40063525512c12446e (patch)
treec01e543b8b3bd3e349bbb27b8f639a4168f5c02c /java/classpath
parentBraino: install the file with correct name. (diff)
- Unbreak: Add missing build-dependency on archivers/zip
- Fix compilation on 4.x
Notes
Notes: svn path=/head/; revision=120156
Diffstat (limited to 'java/classpath')
-rw-r--r--java/classpath/Makefile6
-rw-r--r--java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c14
2 files changed, 16 insertions, 4 deletions
diff --git a/java/classpath/Makefile b/java/classpath/Makefile
index 8072416f2467..3d087be55f49 100644
--- a/java/classpath/Makefile
+++ b/java/classpath/Makefile
@@ -15,6 +15,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A GNU project to create free core class libraries
+BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
+
USE_GNOME= gtk20 libartlgpl2 pkgconfig
USE_JAVA= yes
USE_JIKES= yes
@@ -26,10 +28,6 @@ PLIST_FILES= lib/security/classpath.security
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Configure fails on FreeBSD >= 5.x"
-.endif
-
post-install:
.for dir in ${PREFIX}/share/classpath ${PREFIX}/lib/classpath
@${FIND} ${dir} ! -type d | \
diff --git a/java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c b/java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c
new file mode 100644
index 000000000000..103979ff3a17
--- /dev/null
+++ b/java/classpath/files/patch-native::jni::gtk-peer::gthread-jni.c
@@ -0,0 +1,14 @@
+--- native/jni/gtk-peer/gthread-jni.c.orig Mon Oct 25 15:42:21 2004
++++ native/jni/gtk-peer/gthread-jni.c Mon Oct 25 15:45:31 2004
+@@ -218,7 +218,11 @@
+ /* Global data */
+ /************************************************************************/
+
++#if __FreeBSD_version < 500000
++#include <inttypes.h>
++#else
+ #include <stdint.h> /* provides intptr_t */
++#endif
+ #include <stdarg.h> /* va_list */
+ #include "gthread-jni.h"
+ #include <assert.h> /* assert() */