pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/java-jna



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Mon Jun  6 01:12:56 UTC 2022

Modified Files:
        pkgsrc/devel/java-jna: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/java-jna/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/java-jna/Makefile
diff -u pkgsrc/devel/java-jna/Makefile:1.9 pkgsrc/devel/java-jna/Makefile:1.10
--- pkgsrc/devel/java-jna/Makefile:1.9  Wed Dec  8 16:03:58 2021
+++ pkgsrc/devel/java-jna/Makefile      Mon Jun  6 01:12:56 2022
@@ -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 @@ GITHUB_PROJECT= jna
 
 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+= FreeBSD-*-i386 FreeB
 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