[Bug 263601] java/bouncycastle15 only builds with Java 8

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Apr 2022 02:21:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263601

            Bug ID: 263601
           Summary: java/bouncycastle15 only builds with Java 8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: wcarson.bugzilla@disillusion.net

There is no JAVA_VERSION defined in the Makefile. I tried various values (8,
11, and 17) and the only one that worked is 8.

diff --git a/java/bouncycastle15/Makefile b/java/bouncycastle15/Makefile
index 472af5a4a0..a84bc41546 100644
--- a/java/bouncycastle15/Makefile
+++ b/java/bouncycastle15/Makefile
@@ -26,6 +26,7 @@ CPE_VENDOR=   ${PORTNAME}
 CPE_PRODUCT=   legion-of-the-bouncy-castle-java-crytography-api
 USE_ANT=       yes
 USE_JAVA=      yes
+JAVA_VERSION=  8

 MAKE_ARGS=     -f \
                ant/jdk${JDKNVERSION}+.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.