pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/java-jna java-jna: fix default builds
details: https://anonhg.NetBSD.org/pkgsrc/rev/47fb42ecc5db
branches: trunk
changeset: 380390:47fb42ecc5db
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Mon Jun 06 01:12:56 2022 +0000
description:
java-jna: fix default builds
As a workaround for now, don't accept openjdk17, as this version won't
build with it. While here, address some formatting issues noted by
pkglint.
diffstat:
devel/java-jna/Makefile | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diffs (37 lines):
diff -r 18728777b69b -r 47fb42ecc5db devel/java-jna/Makefile
--- a/devel/java-jna/Makefile Sun Jun 05 22:33:48 2022 +0000
+++ b/devel/java-jna/Makefile Mon Jun 06 01:12:56 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2021/12/08 16:03:58 adam Exp $
+# $NetBSD: Makefile,v 1.10 2022/06/06 01:12:56 gutteridge Exp $
DISTNAME= jna-5.2.0
PKGNAME= java-${DISTNAME}
@@ -9,7 +9,7 @@
MAINTAINER= nonakap%gmail.com@localhost
HOMEPAGE= https://github.com/java-native-access/jna
-COMMENT= JNA provides Java programs easy access to native shared libraries.
+COMMENT= JNA provides Java programs easy access to native shared libraries
LICENSE= gnu-lgpl-v2.1 OR apache-2.0
EXTRACT_USING= bsdtar
@@ -37,11 +37,13 @@
ONLY_FOR_PLATFORM+= OpenBSD-*-i386 OpenBSD-*-x86_64
ONLY_FOR_PLATFORM+= NetBSD-*-i386 NetBSD-*-x86_64
-USE_LANGUAGES= c
-USE_JAVA= yes
-USE_JAVA2= yes
-USE_TOOLS+= autoreconf automake autoconf ggrep gmake pkg-config pax
-USE_LIBTOOL= yes
+USE_LANGUAGES= c
+USE_JAVA2= yes
+# XXX temporary build fix, revisit build with openjdk17 on next update.
+PKG_JVMS_ACCEPTED= openjdk11 openjdk8 oracle-jdk8 adoptopenjdk11-bin \
+ openjdk-bin sun-jdk7
+USE_TOOLS+= autoreconf automake autoconf ggrep gmake pkg-config pax
+USE_LIBTOOL= yes
OPSYSVARS+= JNIPFX JNISFX
JNIPFX.Cygwin= # empty
Home |
Main Index |
Thread Index |
Old Index