mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
. Prefer diablo-jdk15 on 5.x/i386, 6.x/i386 and 6.x/amd64 and jdk15
everywhere else. Reviewed by: hq Suggested by: kris
This commit is contained in:
parent
9630b17f2d
commit
54ac1f4039
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173079
1 changed files with 2 additions and 3 deletions
|
@ -216,9 +216,8 @@ _JAVA_OS_native= Native
|
|||
_JAVA_OS_linux= Linux
|
||||
|
||||
# Enforce preferred Java ports according to OS
|
||||
. if ${ARCH} == "amd64"
|
||||
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5
|
||||
. elif ${OSVERSION} >= 500000
|
||||
. if (${ARCH} == "amd64" && ${OSVERSION} >= 600000 && ${OSVERSION} < 700000) || \
|
||||
(${ARCH} == "i386" && ${OSVERSION} >= 500000 && ${OSVERSION} < 700000)
|
||||
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_FREEBSD_JDK_1_5
|
||||
. else
|
||||
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5
|
||||
|
|
Loading…
Add table
Reference in a new issue