mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
. Cope with legacy versions "1.5" (expands to 1.6) and "1.5+" (expands to
1.6 1.7). . Remove freebsd and bsdjava as valid vendors.
This commit is contained in:
parent
e31c370390
commit
167b1fa7bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308662
@ -5,7 +5,7 @@
|
||||
|
||||
PORTNAME= javavmwrapper
|
||||
PORTVERSION= 2.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= java
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -526,8 +526,11 @@ setJavaHome() {
|
||||
_JAVAVM_VERSION=
|
||||
for version in ${JAVA_VERSION}; do
|
||||
case "${version}" in
|
||||
1.5)
|
||||
_JAVAVM_VERSION="${_JAVAVM_VERSION} 1.6"
|
||||
;;
|
||||
1.5+)
|
||||
_JAVAVM_VERSION="${_JAVAVM_VERSION} 1.5 1.6 1.7"
|
||||
_JAVAVM_VERSION="${_JAVAVM_VERSION} 1.6 1.7"
|
||||
;;
|
||||
1.6+)
|
||||
_JAVAVM_VERSION="${_JAVAVM_VERSION} 1.6 1.7"
|
||||
@ -588,12 +591,6 @@ setJavaHome() {
|
||||
if [ -n "${JAVA_VENDOR}" ]; then
|
||||
_JAVAVM_VENDOR=
|
||||
case "${_JAVAVM_VM}" in
|
||||
diablo*)
|
||||
_JAVAVM_VENDOR=freebsd
|
||||
;;
|
||||
j*)
|
||||
_JAVAVM_VENDOR=bsdjava
|
||||
;;
|
||||
openjdk*)
|
||||
_JAVAVM_VENDOR=openjdk
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user