aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-sun-jdk13
diff options
context:
space:
mode:
Diffstat (limited to 'java/linux-sun-jdk13')
-rw-r--r--java/linux-sun-jdk13/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/linux-sun-jdk13/Makefile b/java/linux-sun-jdk13/Makefile
index bf72e9782b5c..5fccf4d60b66 100644
--- a/java/linux-sun-jdk13/Makefile
+++ b/java/linux-sun-jdk13/Makefile
@@ -14,7 +14,8 @@ DISTFILES= j2sdk-1_3_0_02-linux.bin
MAINTAINER= kevlo@FreeBSD.org
-RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
+RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
+ javavm:${PORTSDIR}/java/javavmwrapper
JDK_VERSION= 1.3.0
@@ -51,5 +52,6 @@ post-patch:
do-install:
${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} -xpf-
+ ${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${JDK_VERSION}/bin/java # Linux-JDK${JDK_VERSION}"
.include <bsd.port.post.mk>