pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/swi-prolog-jpl swi-prolog-jpl: limit JVMs



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db771e2ade8e
branches:  trunk
changeset: 390509:db771e2ade8e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 21 13:06:48 2022 +0000

description:
swi-prolog-jpl: limit JVMs

Configure script does not find JNI for newer versions.

diffstat:

 lang/swi-prolog-jpl/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 1c68deade239 -r db771e2ade8e lang/swi-prolog-jpl/Makefile
--- a/lang/swi-prolog-jpl/Makefile      Wed Dec 21 12:04:12 2022 +0000
+++ b/lang/swi-prolog-jpl/Makefile      Wed Dec 21 13:06:48 2022 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index