aboutsummaryrefslogtreecommitdiffstats
path: root/java/shujit
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-08-27 16:13:03 +0800
committersobomax <sobomax@FreeBSD.org>2001-08-27 16:13:03 +0800
commit342b45b199c629b37a09dd0ea8106feb7e42a1e1 (patch)
treeb9125923f0b404901f1c63f16a277aa6e2fa4ce3 /java/shujit
parent5e0214169236719824065f13d2b5087c8b8c83a8 (diff)
downloadfreebsd-ports-gnome-342b45b199c629b37a09dd0ea8106feb7e42a1e1.tar.gz
freebsd-ports-gnome-342b45b199c629b37a09dd0ea8106feb7e42a1e1.tar.zst
freebsd-ports-gnome-342b45b199c629b37a09dd0ea8106feb7e42a1e1.zip
- 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.
Diffstat (limited to 'java/shujit')
-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