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. Fix: Remove offending comment. How-To-Repeat: Trying to use ${JAVAC} in a port-makefile without setting NEED_JAVAC to "yes" first leaves ${JAVAC} undefined.
Responsible Changed From-To: freebsd-java->znerd My call.
State Changed From-To: open->closed Fix committed, thanks!