aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/diablo-jdk15/Makefile2
-rw-r--r--java/diablo-jre15/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/diablo-jdk15/Makefile b/java/diablo-jdk15/Makefile
index a9b5be6e6e1e..27226516e01c 100644
--- a/java/diablo-jdk15/Makefile
+++ b/java/diablo-jdk15/Makefile
@@ -45,7 +45,7 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 600000
+.if ${OSVERSION} >= 600000 && ${OSVERSION} <= 700000
JDK_OSREL=freebsd6
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
JDK_OSREL=freebsd5
diff --git a/java/diablo-jre15/Makefile b/java/diablo-jre15/Makefile
index d450feaa5365..3e307c242705 100644
--- a/java/diablo-jre15/Makefile
+++ b/java/diablo-jre15/Makefile
@@ -45,7 +45,7 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 600000
+.if ${OSVERSION} >= 600000 && ${OSVERSION} <= 700000
JRE_OSREL=freebsd6
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
JRE_OSREL=freebsd5