Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  4 Oct 2007 16:50:58 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116890: [patch] bsd.java.mk - Remove always-true statement
Message-ID:  <20071004065058.522FE2D7@k7.mavetju>
Resent-Message-ID: <200710040700.l94705T6023234@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116890
>Category:       ports
>Synopsis:       [patch] bsd.java.mk - Remove always-true statement
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 04 07:00:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386


>Description:

Since OSVERSION is always bigger than 500000, the following statement
can be removed:

>How-To-Repeat:
>Fix:

Index: bsd.java.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.java.mk,v
retrieving revision 1.80
diff -u -r1.80 bsd.java.mk
--- bsd.java.mk	5 Aug 2007 21:19:47 -0000	1.80
+++ bsd.java.mk	4 Oct 2007 06:49:20 -0000
@@ -214,7 +214,7 @@
 
 # Enforce preferred Java ports according to OS
 .		if (${ARCH} == "amd64" && ${OSVERSION} >= 600000 && ${OSVERSION} < 700000) || \
-		   (${ARCH} == "i386" && ${OSVERSION} >= 500000 && ${OSVERSION} < 700000)
+		   (${ARCH} == "i386" && ${OSVERSION} < 700000)
 _JAVA_PREFERRED_PORTS+=	JAVA_PORT_NATIVE_FREEBSD_JDK_1_5
 .		else
 _JAVA_PREFERRED_PORTS+=	JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071004065058.522FE2D7>