java/61741: bsd.java.mk gives wrong advice re: NEED_JAVAC

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Thu Jan 22 10:00:38 PST 2004


>Number:         61741
>Category:       java
>Synopsis:       bsd.java.mk gives wrong advice re: NEED_JAVAC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 10:00:29 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Lehrstuhl für 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 at 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:
>Unformatted:


More information about the freebsd-java mailing list