aboutsummaryrefslogtreecommitdiff
path: root/java/tya
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/tya
parent96c78903681322e075e1158d8a85ed0f6a7bd38d (diff)
downloadports-527910f5267052979e9b43f1d7265859385ea2eb.tar.gz
ports-527910f5267052979e9b43f1d7265859385ea2eb.zip
Notes
Diffstat (limited to 'java/tya')
-rw-r--r--java/tya/Makefile3
-rw-r--r--java/tya/files/patch-ac14
2 files changed, 17 insertions, 0 deletions
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: