. Fix the check for 7.x which would previously erroneously try to install

the 5.x version on 7.x.

Submitted by:	des
This commit is contained in:
Greg Lewis 2007-04-11 20:48:22 +00:00
parent 7dc7ee9766
commit d519e21889
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189819
2 changed files with 6 additions and 2 deletions

View File

@ -45,7 +45,9 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 600000 && ${OSVERSION} <= 700000
.if ${OSVERSION} >= 700000
IGNORE= Not available for FreeBSD 7.x yet
.elif ${OSVERSION} >= 600000
JDK_OSREL=freebsd6
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
JDK_OSREL=freebsd5

View File

@ -45,7 +45,9 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 600000 && ${OSVERSION} <= 700000
.if ${OSVERSION} >= 700000
IGNORE= Not available for FreeBSD 7.x yet
.elif ${OSVERSION} >= 600000
JRE_OSREL=freebsd6
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
JRE_OSREL=freebsd5