aboutsummaryrefslogtreecommitdiff
path: root/java/shujit
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-09-25 07:32:43 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-09-25 07:32:43 +0000
commit527910f5267052979e9b43f1d7265859385ea2eb (patch)
treef91fe40e39678fce60225ac5dec0e35464a00e6a /java/shujit
parent96c78903681322e075e1158d8a85ed0f6a7bd38d (diff)
downloadports-527910f5267052979e9b43f1d7265859385ea2eb.tar.gz
ports-527910f5267052979e9b43f1d7265859385ea2eb.zip
Notes
Diffstat (limited to 'java/shujit')
-rw-r--r--java/shujit/Makefile5
-rw-r--r--java/shujit/files/patch-ac13
2 files changed, 17 insertions, 1 deletions
diff --git a/java/shujit/Makefile b/java/shujit/Makefile
index f8fe381f46fc..7206567d24c4 100644
--- a/java/shujit/Makefile
+++ b/java/shujit/Makefile
@@ -28,6 +28,9 @@ JAVADIR= ${LOCALBASE}/jdk1.1.8
JAVALIBDIR= ${PREFIX}/lib/${PORTNAME}
CONFIGURE_ARGS+= --with-jdk="${JAVADIR}"
+post-configure:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/README
+
do-install:
@${MKDIR} ${JAVALIBDIR}
@${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${JAVALIBDIR}
@@ -36,7 +39,7 @@ post-install:
@${MKDIR} ${PREFIX}/share/shujit
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/shujit
@${ECHO_MSG} ""
- @${ECHO_MSG} "See ${PREFIX}/shujit/README for usage instructions."
+ @${ECHO_MSG} "See ${PREFIX}/share/shujit/README for usage instructions."
@${ECHO_MSG} ""
.include <bsd.port.mk>
diff --git a/java/shujit/files/patch-ac b/java/shujit/files/patch-ac
new file mode 100644
index 000000000000..5d4da408dd74
--- /dev/null
+++ b/java/shujit/files/patch-ac
@@ -0,0 +1,13 @@
+--- README 2000/09/23 21:59:50 1.1
++++ README 2000/09/23 21:59:26
+@@ -33,6 +33,10 @@
+
+ * Run Java applications with JIT compiler.
+
++Fist you should set LD_LIBRARY_PATH enviropment variable as follows:
++
++ export LD_LIBRARY_PATH=%%PREFIX%%/lib/shujit
++
+ Type instead of usual java command
+ % java -Djava.compiler=shujit ...
+