ports/116890: [patch] bsd.java.mk - Remove always-true statement

Edwin Groothuis edwin at mavetju.org
Thu Oct 4 07:00:06 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list