Date: Thu, 22 Jan 2004 18:55:08 +0100 (CET) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: znerd@FreeBSD.org Subject: java/61741: bsd.java.mk gives wrong advice re: NEED_JAVAC Message-ID: <200401221755.i0MHt8ta018025@menelaos.informatik.rwth-aachen.de> Resent-Message-ID: <200401221800.i0MI0T8M002625@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401221755.i0MHt8ta018025>
