summaryrefslogtreecommitdiffstats
path: root/java/jre
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-11 08:09:12 +0000
committersobomax <sobomax@FreeBSD.org>2000-09-11 08:09:12 +0000
commit8f3b522c945d0d305d8a4c9cac963fb7d5593ff8 (patch)
tree7e235966603972fd95b6d12f2fbe2119f4234786 /java/jre
parent5c9e436add19503907bf9b0c23aed61316b57569 (diff)
downloadFreeBSD-ports-8f3b522c945d0d305d8a4c9cac963fb7d5593ff8.zip
FreeBSD-ports-8f3b522c945d0d305d8a4c9cac963fb7d5593ff8.tar.gz
Pre-create symlinks pointing to a 2 jits (Just-in-time compilers) - tya and
shujit, so you can use it with jre by installing whichever you like and setting JAVA_COMPILER environment variable to be shujit or tya.
Diffstat (limited to 'java/jre')
-rw-r--r--java/jre/Makefile2
-rw-r--r--java/jre/pkg-plist8
2 files changed, 7 insertions, 3 deletions
diff --git a/java/jre/Makefile b/java/jre/Makefile
index 6d39c89..5ea863c 100644
--- a/java/jre/Makefile
+++ b/java/jre/Makefile
@@ -78,5 +78,7 @@ do-install:
post-install:
${LOCALBASE}/bin/registervm "${PREFIX}/jre${JRE_VERSION}/bin/java # JRE${JRE_VERSION}"
+ ${LN} -sf ${LOCALBASE}/lib/shujit/libshujit.so ${PREFIX}/jre${JRE_VERSION}/lib/i386/green_threads/libshujit.so
+ ${LN} -sf ${LOCALBASE}/lib/tya/libtya.so ${PREFIX}/jre${JRE_VERSION}/lib/i386/green_threads/libtya.so
.include <bsd.port.post.mk>
diff --git a/java/jre/pkg-plist b/java/jre/pkg-plist
index d3d2b70..106d2f3 100644
--- a/java/jre/pkg-plist
+++ b/java/jre/pkg-plist
@@ -41,7 +41,9 @@ jre%%JRE_VERSION%%/lib/i386/green_threads/libjpeg.so
jre%%JRE_VERSION%%/lib/i386/green_threads/libmath.so
jre%%JRE_VERSION%%/lib/i386/green_threads/libmmedia.so
jre%%JRE_VERSION%%/lib/i386/green_threads/libnet.so
+jre%%JRE_VERSION%%/lib/i386/green_threads/libshujit.so
jre%%JRE_VERSION%%/lib/i386/green_threads/libsysresource.so
+jre%%JRE_VERSION%%/lib/i386/green_threads/libtya.so
jre%%JRE_VERSION%%/lib/i386/green_threads/libzip.so
jre%%JRE_VERSION%%/lib/psfont.properties.ja
jre%%JRE_VERSION%%/lib/rt.jar
@@ -49,9 +51,9 @@ jre%%JRE_VERSION%%/lib/security/java.security
jre%%JRE_VERSION%%/lib/serialver.properties
@exec mkdir -p %D/share/java/classes
@exec mkdir -p %D/share/doc/java
-@unexec rmdir %D/share/java/classes
-@unexec rmdir %D/share/java
-@unexec rmdir %D/share/doc/java
+@unexec rmdir %D/share/java/classes 2>/dev/null || true
+@unexec rmdir %D/share/java 2>/dev/null || true
+@unexec rmdir %D/share/doc/java 2>/dev/null || true
@exec %D/bin/registervm "%D/jre%%JRE_VERSION%%/bin/java # JRE%%JRE_VERSION%%"
@unexec %D/bin/unregistervm JRE%%JRE_VERSION%%
@dirrm jre%%JRE_VERSION%%/lib/security
OpenPOWER on IntegriCloud