aboutsummaryrefslogtreecommitdiff
path: root/java/shujit
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-07-08 08:48:57 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-07-08 08:48:57 +0000
commit582b8cc56ed070656eb6e43dad69337ebde11611 (patch)
tree3e7c6f55be2f6552776e63e62159fb001b837979 /java/shujit
parent8e364a3ebd448931210ba2e37d986d3457862e04 (diff)
downloadports-582b8cc56ed070656eb6e43dad69337ebde11611.tar.gz
ports-582b8cc56ed070656eb6e43dad69337ebde11611.zip
Notes
Diffstat (limited to 'java/shujit')
-rw-r--r--java/shujit/Makefile7
-rw-r--r--java/shujit/files/patch-compiler.h9
2 files changed, 11 insertions, 5 deletions
diff --git a/java/shujit/Makefile b/java/shujit/Makefile
index 015b0162fe85..213d3f1e860a 100644
--- a/java/shujit/Makefile
+++ b/java/shujit/Makefile
@@ -7,10 +7,11 @@
PORTNAME= shujit
PORTVERSION= 0.7.14
+PORTREVISION= 1
CATEGORIES= java
MASTER_SITES= http://www.shudo.net/jit/dist/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= des@FreeBSD.org
COMMENT= A Just In Time java bytecode compiler
LIB_DEPENDS= gdbm:${PORTSDIR}/databases/gdbm
@@ -32,10 +33,6 @@ MAKE_ENV= JAVADIR="${JAVA_HOME}"
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
-
post-configure:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/README
diff --git a/java/shujit/files/patch-compiler.h b/java/shujit/files/patch-compiler.h
index e09936351590..c6a3b200ca38 100644
--- a/java/shujit/files/patch-compiler.h
+++ b/java/shujit/files/patch-compiler.h
@@ -12,3 +12,12 @@ $FreeBSD$
# ifndef _UINT16_T
# define _UINT16_T
typedef unsigned short uint16_t;
+@@ -196,7 +196,7 @@
+ # include <linux/version.h> // for kernel version
+ # elif defined(__FreeBSD__) || defined(__NetBSD__)
+ # ifdef __FreeBSD__
+-# if __FreeBSD__ >= 4 && JDK_VER < 12
++# if __FreeBSD__ == 4 && JDK_VER < 12
+ // In this case, the 3rd arg. of sig. handler is not (sigcontext *).
+ # define SIGCONTEXT_T struct osigcontext
+ # else