. 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:
parent
7dc7ee9766
commit
d519e21889
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189819
@ -45,7 +45,9 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
|
|||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.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
|
JDK_OSREL=freebsd6
|
||||||
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
|
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
|
||||||
JDK_OSREL=freebsd5
|
JDK_OSREL=freebsd5
|
||||||
|
@ -45,7 +45,9 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
|
|||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.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
|
JRE_OSREL=freebsd6
|
||||||
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
|
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
|
||||||
JRE_OSREL=freebsd5
|
JRE_OSREL=freebsd5
|
||||||
|
Loading…
Reference in New Issue
Block a user