mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
. Prefer jdk15 over jdk14 on amd64 since the latter isn't supported on
that architecture.
This commit is contained in:
parent
cd1358c1f0
commit
0a8d3c6c13
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144176
@ -217,7 +217,11 @@ _JAVA_OS_linux= Linux
|
||||
|
||||
# Enforce preferred Java ports according to OS
|
||||
. if ${OSVERSION} >= 400000
|
||||
. if ${ARCH} == "amd64"
|
||||
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5
|
||||
. else
|
||||
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4
|
||||
. endif
|
||||
. else
|
||||
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_1
|
||||
. endif
|
||||
|
Loading…
Reference in New Issue
Block a user