swi-prolog-jpl: limit JVMs

Configure script does not find JNI for newer versions.
This commit is contained in:
wiz 2022-12-21 13:06:48 +00:00
parent 5d23a3a6f1
commit ed76fc908e
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2019/03/13 14:02:51 leot Exp $
# $NetBSD: Makefile,v 1.8 2022/12/21 13:06:48 wiz Exp $
.include "../../lang/swi-prolog-lite/Makefile.common"
@ -9,6 +9,9 @@ COMMENT= JPL package for SWI Prolog
USE_TOOLS+= pkg-config
# does not find JNI for java>=11
PKG_JVMS_ACCEPTED= kaffe openjdk8 sun-jdk7 oracle-jdk8
CMAKE_ARGS+= -DSWIPL_PACKAGES_JAVA=ON
CMAKE_ARGS+= -DINSTALL_PACKAGES=OFF
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION=OFF