diff options
-rw-r--r-- | java/shujit/Makefile | 7 | ||||
-rw-r--r-- | java/shujit/files/patch-compiler.h | 9 |
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 |