diff options
author | glewis <glewis@FreeBSD.org> | 2004-04-20 00:56:04 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-04-20 00:56:04 +0800 |
commit | f4d65d273f206224a43ba8a8dcc032ed795aa570 (patch) | |
tree | 164b8f5e1742e51f25659e498ac5201a7ecbe45c /Mk | |
parent | f711ba9c395419170935fb6dc2477a4dc688710c (diff) | |
download | freebsd-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>
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.java.mk | 4 |
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 |