From 0835676e361bca74b28b09fe0425ed5ee958f26b Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 27 Dec 2024 20:10:41 +0100 Subject: Mk/**java.mk: Convert bsd.java.mk to USES The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA= use USES=java and JAVA_VERSION= Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201 --- java/java3d/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'java/java3d') diff --git a/java/java3d/Makefile b/java/java3d/Makefile index 40409570a7f2..84d35ee5c33e 100644 --- a/java/java3d/Makefile +++ b/java/java3d/Makefile @@ -15,12 +15,11 @@ BROKEN_aarch64= fails to compile: GVector.java:168: bad use of '>' BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details BROKEN_armv7= fails to compile: build.xml: Compile failed; see the compiler error output for details -USES= compiler:c11 gl tar:bzip2 xorg -USE_JAVA= 8 +USES= compiler:c11 gl java:ant tar:bzip2 xorg +JAVA_VERSION= 8 USE_GL= gl USE_XORG= xt JAVA_VENDOR= openjdk -USE_ANT= yes LLD_UNSAFE= yes PLIST_SUB+= JAVA_HOME=${JAVA_HOME:S/^${PREFIX}\///} ARCH=${ARCH} -- cgit v1.3