summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-27 08:13:03 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-27 08:13:03 +0000
commit4fdde7610e3911c96c90f6e15464cc581883d38b (patch)
tree92c36064b76ca259f6f8ebe8f1aab0cb4ad0b931 /java
parentUpdate to 20010827a, with a couple of silly bugs fixed. (diff)
- Update to 0.7.3;
- allow JAVADIR to be overriden, so it is possible to built JIT for the jdk1.2.x and jdk1.3.x; - fix the build with jdk1.3.x.
Notes
Notes: svn path=/head/; revision=46956
Diffstat (limited to 'java')
-rw-r--r--java/shujit/Makefile5
-rw-r--r--java/shujit/distinfo2
-rw-r--r--java/shujit/files/patch-ab14
3 files changed, 14 insertions, 7 deletions
diff --git a/java/shujit/Makefile b/java/shujit/Makefile
index e485eb6915d9..4a9f9916f1f2 100644
--- a/java/shujit/Makefile
+++ b/java/shujit/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= shujit
-PORTVERSION= 0.7.1
+PORTVERSION= 0.7.3
CATEGORIES= java
MASTER_SITES= http://www.shudo.net/jit/dist/
@@ -26,9 +26,10 @@ MAKEFILE= GNUmakefile
USE_RUBY= yes
RUBY_NO_RUN_DEPENDS= yes
-JAVADIR= ${LOCALBASE}/jdk1.1.8
+JAVADIR?= ${LOCALBASE}/jdk1.1.8
JAVALIBDIR= ${PREFIX}/lib/${PORTNAME}
CONFIGURE_ARGS+= --with-jdk="${JAVADIR}"
+MAKE_ENV= JAVADIR="${JAVADIR}"
post-configure:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/README
diff --git a/java/shujit/distinfo b/java/shujit/distinfo
index 920b8e987ee6..a0e3528a4178 100644
--- a/java/shujit/distinfo
+++ b/java/shujit/distinfo
@@ -1 +1 @@
-MD5 (shujit-0.7.1.tar.gz) = 679ce1491a26233436615b1cfc3a7489
+MD5 (shujit-0.7.3.tar.gz) = 604c4f4c7f93a6509f3bf3646df218a0
diff --git a/java/shujit/files/patch-ab b/java/shujit/files/patch-ab
index a6dae156d855..a5404e59a653 100644
--- a/java/shujit/files/patch-ab
+++ b/java/shujit/files/patch-ab
@@ -1,8 +1,14 @@
---- GNUmakefile.in.orig Thu Aug 31 17:40:17 2000
-+++ GNUmakefile.in Mon Sep 11 10:31:06 2000
-@@ -48,10 +48,9 @@
+
+$FreeBSD$
+
+--- GNUmakefile.in.orig Fri Jan 12 12:26:15 2001
++++ GNUmakefile.in Mon Aug 27 11:10:25 2001
+@@ -46,12 +46,11 @@
+ GENCONST = gentable.rb
+ POSTPROC = postcmpl.rb
- INCDIR = -I${J_INCDIR} -I${J_INCDIR}/genunix -I${J_INCDIR}/linux -I${J_INCDIR}/freebsd -I/usr/local/include
+-INCDIR = -I${J_INCDIR} -I${J_INCDIR}/genunix -I${J_INCDIR}/linux -I${J_INCDIR}/freebsd -I${J_INCDIR}/netbsd -I/usr/local/include
++INCDIR = -I${J_INCDIR} -I${J_INCDIR}/genunix -I${J_INCDIR}/linux -I${J_INCDIR}/bsd -I${J_INCDIR}/freebsd -I${J_INCDIR}/netbsd -I${LOCALBASE}/include -I${JAVADIR}/include -I${JAVADIR}/include/bsd
-OPTFLAGS = -O2
CDEBUGFLAGS =# -g -DDEBUG -DCOMPILE_DEBUG# -DRUNTIME_DEBUG