aboutsummaryrefslogtreecommitdiffstats
path: root/java/tya
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-25 15:32:43 +0800
committersobomax <sobomax@FreeBSD.org>2000-09-25 15:32:43 +0800
commit8a766afb69c4d669d2a6cab35ef98444e1ec44b4 (patch)
tree9f6c061222d122db7a742a84c04e39f4ea8429fe /java/tya
parentbaf2abd8d2bd9373d989d91687aba9282338b634 (diff)
downloadfreebsd-ports-gnome-8a766afb69c4d669d2a6cab35ef98444e1ec44b4.tar.gz
freebsd-ports-gnome-8a766afb69c4d669d2a6cab35ef98444e1ec44b4.tar.zst
freebsd-ports-gnome-8a766afb69c4d669d2a6cab35ef98444e1ec44b4.zip
Clarify usage instructions (you have to set LD_LIBRARY_PATH to
${PREFIX}/lib/[tya,shujit] in addition to JAVA_COMPILER.
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: