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