summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-10-25 13:56:34 +0000
committervs <vs@FreeBSD.org>2004-10-25 13:56:34 +0000
commit0052138edc6ad517e86e6908ec20781db83a552e (patch)
tree7488c3ff55cb805f51eb3ca44b17ab50ace754ea /java
parent14f6c7446ae200457b191c2573701031037f05dd (diff)
downloadFreeBSD-ports-0052138edc6ad517e86e6908ec20781db83a552e.zip
FreeBSD-ports-0052138edc6ad517e86e6908ec20781db83a552e.tar.gz
- Unbreak: Add missing build-dependency on archivers/zip
- Fix compilation on 4.x
Diffstat (limited to 'java')
-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 8072416..3d087be 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 0000000..103979ff
--- /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() */
OpenPOWER on IntegriCloud