aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-04-20 00:56:04 +0800
committerglewis <glewis@FreeBSD.org>2004-04-20 00:56:04 +0800
commitf4d65d273f206224a43ba8a8dcc032ed795aa570 (patch)
tree164b8f5e1742e51f25659e498ac5201a7ecbe45c
parentf711ba9c395419170935fb6dc2477a4dc688710c (diff)
downloadfreebsd-ports-gnome-f4d65d273f206224a43ba8a8dcc032ed795aa570.tar.gz
freebsd-ports-gnome-f4d65d273f206224a43ba8a8dcc032ed795aa570.tar.zst
freebsd-ports-gnome-f4d65d273f206224a43ba8a8dcc032ed795aa570.zip
. 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>
-rw-r--r--Mk/bsd.java.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index 92ca94ee8f71..c95dfeecaff0 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -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