From stolz@i2.informatik.rwth-aachen.de  Thu Jan 22 09:55:11 2004
Return-Path: <stolz@i2.informatik.rwth-aachen.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 3BED016A4CE; Thu, 22 Jan 2004 09:55:11 -0800 (PST)
Received: from atlas.informatik.rwth-aachen.de (atlas.Informatik.RWTH-Aachen.DE [137.226.194.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 61D2C43D31; Thu, 22 Jan 2004 09:55:09 -0800 (PST)
	(envelope-from stolz@i2.informatik.rwth-aachen.de)
Received: from menelaos.informatik.rwth-aachen.de (menelaos.Informatik.RWTH-Aachen.DE [137.226.194.73])
	by atlas.informatik.rwth-aachen.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5-michaelw-20030918) with ESMTP id i0MHt8m21877;
	Thu, 22 Jan 2004 18:55:08 +0100
Received: (from stolz@localhost)
	by menelaos.informatik.rwth-aachen.de (8.12.10/8.12.10/Submit) id i0MHt8ta018025;
	Thu, 22 Jan 2004 18:55:08 +0100 (CET)
	(envelope-from stolz)
Message-Id: <200401221755.i0MHt8ta018025@menelaos.informatik.rwth-aachen.de>
Date: Thu, 22 Jan 2004 18:55:08 +0100 (CET)
From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Reply-To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: znerd@freebsd.org
Subject: bsd.java.mk gives wrong advice re: NEED_JAVAC
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61741
>Category:       java
>Synopsis:       bsd.java.mk gives wrong advice re: NEED_JAVAC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    znerd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 10:00:29 PST 2004
>Closed-Date:    Thu Jan 22 23:44:02 PST 2004
>Last-Modified:  Thu Jan 22 23:44:02 PST 2004
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Lehrstuhl fr Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #12: Mon Dec 8 15:14:27 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
From /usr/share/Mk/bsd.java.mk:

# The default value for NEED_JAVAC is temporarily (!) YES
# This will change as soon as the affecting ports have NEED_JAVAC=YES
.               if !defined(NEED_JAVAC)
NEED_JAVAC=     NO
.               endif

Obviously NEED_JAVAC defaults to NO. Either to comment above is incorrect
or the default setting is. The comment in rev. 1.9 clearly indicates that the
default changed to NO deliberately.
>How-To-Repeat:
Trying to use ${JAVAC} in a port-makefile without setting NEED_JAVAC to "yes" first
leaves ${JAVAC} undefined.
>Fix:
Remove offending comment.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-java->znerd 
Responsible-Changed-By: znerd 
Responsible-Changed-When: Thu Jan 22 23:40:41 PST 2004 
Responsible-Changed-Why:  
My call. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61741 
State-Changed-From-To: open->closed 
State-Changed-By: znerd 
State-Changed-When: Thu Jan 22 23:43:28 PST 2004 
State-Changed-Why:  
Fix committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61741 
>Unformatted:
