aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/diablo-jdk15/Makefile7
-rw-r--r--java/diablo-jre15/Makefile7
2 files changed, 8 insertions, 6 deletions
diff --git a/java/diablo-jdk15/Makefile b/java/diablo-jdk15/Makefile
index 977934994d97..da191bbb2534 100644
--- a/java/diablo-jdk15/Makefile
+++ b/java/diablo-jdk15/Makefile
@@ -46,11 +46,12 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700000
-IGNORE= Not available for FreeBSD 7.x yet
+LIB_DEPENDS= c.6:${PORTSDIR}/misc/compat6x
+JDK_OSREL= freebsd6
.elif ${OSVERSION} >= 600000
-JDK_OSREL=freebsd6
+JDK_OSREL= freebsd6
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
-JDK_OSREL=freebsd5
+JDK_OSREL= freebsd5
.else
IGNORE= Only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later
.endif
diff --git a/java/diablo-jre15/Makefile b/java/diablo-jre15/Makefile
index eebe9a6ccd96..02f688c81a10 100644
--- a/java/diablo-jre15/Makefile
+++ b/java/diablo-jre15/Makefile
@@ -46,11 +46,12 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700000
-IGNORE= Not available for FreeBSD 7.x yet
+LIB_DEPENDS= c.6:${PORTSDIR}/misc/compat6x
+JRE_OSREL= freebsd6
.elif ${OSVERSION} >= 600000
-JRE_OSREL=freebsd6
+JRE_OSREL= freebsd6
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
-JRE_OSREL=freebsd5
+JRE_OSREL= freebsd5
.else
IGNORE= Only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later
.endif