. Remove parentheses around the comparison of ${OSVERSION}. This is in

line with bsd.port.mk and prevents errors when ${OSVERSION} is (somehow)
  undefined.

Problem report from:	Thomas Abthorpe <thomas@stthomas.stthomasanglican.org>
This commit is contained in:
Greg Lewis 2004-04-19 16:56:04 +00:00
parent 59e12c159b
commit d709fa8022
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107601

View file

@ -177,9 +177,9 @@ _JAVA_OS_native= Native
_JAVA_OS_linux= Linux
# Enforce preferred Java ports according to OS
. if (${OSVERSION} >= 500000)
. if ${OSVERSION} >= 500000
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4
. elif (${OSVERSION} >= 400000)
. elif ${OSVERSION} >= 400000
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_FREEBSD_JDK_1_3
. else
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_1