cvs commit: ports/Mk bsd.java.mk
Herve Quiroz
hq at FreeBSD.org
Mon Nov 29 09:33:42 PST 2004
hq 2004-11-29 17:33:42 UTC
FreeBSD ports repository
Modified files:
Mk bsd.java.mk
Log:
When USE_ANT is defined, JAVA_BUILD is automatically set to 'jdk' but this
conflicts with the default values for JAVA_BUILD and JAVA_RUN. Those variables
are indeed set a default value when none of the them (together with
JAVA_EXTRACT) is defined. Having USE_ANT set a value for JAVA_BUILD will cause
JAVA_RUN not to be set its default value.
This has RUN_DEPENDS not correctly set (missing the JDK entry) on many ports
that use USE_ANT.
This patch addresses this issue by moving the statements dealing with default
values to have them executed before USE_ANT handling.
Approved by: glewis (co-maintainer)
Revision Changes Path
1.59 +11 -9 ports/Mk/bsd.java.mk
More information about the cvs-all
mailing list