aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/linux-blackdown-jdk12/Makefile4
-rw-r--r--java/linux-jdk/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/java/linux-blackdown-jdk12/Makefile b/java/linux-blackdown-jdk12/Makefile
index e03dc673ed7c..056498f2ac40 100644
--- a/java/linux-blackdown-jdk12/Makefile
+++ b/java/linux-blackdown-jdk12/Makefile
@@ -15,7 +15,8 @@ DISTNAME= jdk-1.2.2-RC4-linux-i386-glibc-2.1.2
MAINTAINER= K.J.Koster@kpn.com
-RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base
+RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base \
+ javavm:${PORTSDIR}/java/javavmwrapper
NO_CDROM= "License doesn\'t allow distribution with fee"
NO_PACKAGE= "License doesn\'t allow binary distributions"
@@ -30,5 +31,6 @@ do-install:
${MKDIR} ${PREFIX}/linux-jdk1.2.2
(cd ${WRKSRC} && tar --exclude "*.orig" -c -f - .) \
| (cd ${PREFIX}/linux-jdk1.2.2 && tar fx -)
+ ${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk1.2.2/bin/java # Linux-JDK1.2.2"
.include <bsd.port.mk>
diff --git a/java/linux-jdk/Makefile b/java/linux-jdk/Makefile
index e03dc673ed7c..056498f2ac40 100644
--- a/java/linux-jdk/Makefile
+++ b/java/linux-jdk/Makefile
@@ -15,7 +15,8 @@ DISTNAME= jdk-1.2.2-RC4-linux-i386-glibc-2.1.2
MAINTAINER= K.J.Koster@kpn.com
-RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base
+RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base \
+ javavm:${PORTSDIR}/java/javavmwrapper
NO_CDROM= "License doesn\'t allow distribution with fee"
NO_PACKAGE= "License doesn\'t allow binary distributions"
@@ -30,5 +31,6 @@ do-install:
${MKDIR} ${PREFIX}/linux-jdk1.2.2
(cd ${WRKSRC} && tar --exclude "*.orig" -c -f - .) \
| (cd ${PREFIX}/linux-jdk1.2.2 && tar fx -)
+ ${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk1.2.2/bin/java # Linux-JDK1.2.2"
.include <bsd.port.mk>