diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/shujit/Makefile | 5 | ||||
-rw-r--r-- | java/shujit/files/patch-ac | 13 | ||||
-rw-r--r-- | java/tya/Makefile | 3 | ||||
-rw-r--r-- | java/tya/files/patch-ac | 14 |
4 files changed, 34 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 ... + diff --git a/java/tya/Makefile b/java/tya/Makefile index 57b0cea2b645..5693e3f7f091 100644 --- a/java/tya/Makefile +++ b/java/tya/Makefile @@ -26,6 +26,9 @@ CONFIGURE_ARGS+= --with-jdk=${JAVADIR} JAVADIR= ${LOCALBASE}/jdk1.1.8 JAVALIBDIR= ${PREFIX}/lib/tya +post-configure: + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/README + do-install: @${MKDIR} ${JAVALIBDIR} @${INSTALL_PROGRAM} ${WRKSRC}/libtya.so ${JAVALIBDIR} diff --git a/java/tya/files/patch-ac b/java/tya/files/patch-ac new file mode 100644 index 000000000000..1b18456bd4b7 --- /dev/null +++ b/java/tya/files/patch-ac @@ -0,0 +1,14 @@ +--- README 2000/09/23 21:49:52 1.1 ++++ README 2000/09/23 21:52:34 +@@ -138,7 +138,10 @@ + + You may either specify the compiler to the JVM on the command line, or + you may set an environment variable that will let the JVM find the +-compiler. ++compiler. In both cases you should set LD_LIBRARY_PATH enviropment ++variable as follows: ++ ++ export LD_LIBRARY_PATH=%%PREFIX%%/lib/tya + + For the command line option, run Java using option "-Djava.compiler=", + like this example: |