diff options
author | ryoon <ryoon@pkgsrc.org> | 2022-04-03 00:30:19 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2022-04-03 00:30:19 +0000 |
commit | 7d8bdcaf5ae267f3e41bab0626d660ad41d2aac9 (patch) | |
tree | 4422f92214a031d6031404238292ac7f0b17ed22 /lang | |
parent | 1d794fba006cd4f723148fb3fe08ba6396d500a1 (diff) | |
download | pkgsrc-7d8bdcaf5ae267f3e41bab0626d660ad41d2aac9.tar.gz |
openjdk11: Fix more NetBSD kqueue values
Bump PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/openjdk11/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/openjdk11/Makefile b/lang/openjdk11/Makefile index e787b8eec06..8ecb08ae973 100644 --- a/lang/openjdk11/Makefile +++ b/lang/openjdk11/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.40 2022/03/01 13:51:44 ryoon Exp $ +# $NetBSD: Makefile,v 1.41 2022/04/03 00:30:19 ryoon Exp $ DISTNAME= jdk11u-${GITHUB_TAG:C/\+/-/} PKGNAME= openjdk11-1.${GITHUB_TAG:C/\+/./:C/jdk-([.0-9]+).*/\1/} +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GITHUB:=battleblow/} GITHUB_PROJECT= jdk11u @@ -126,13 +127,15 @@ SUBST_FILES.fontpaths+= src/java.desktop/unix/native/common/awt/fontpath.c SUBST_VARS.fontpaths= PREFIX BUILDLINK_PREFIX.fontconfig .if ${OPSYS} == "NetBSD" -# NetBSD's EVFILT_* are different from FreeBSD/OpenBSD's values. +# NetBSD's EVFILT_* EV_* are different from FreeBSD/OpenBSD's values. SUBST_CLASSES+= kqueue SUBST_STAGE.kqueue= pre-configure SUBST_MESSAGE.kqueue= fixing kqueue filter values SUBST_FILES.kqueue= src/java.base/bsd/classes/sun/nio/ch/KQueue.java SUBST_SED.kqueue= -e 's/static final int EVFILT_READ = -1;/static final int EVFILT_READ = 0;/' SUBST_SED.kqueue+= -e 's/static final int EVFILT_WRITE = -2;/static final int EVFILT_WRITE = 1;/' +SUBST_SED.kqueue+= -e 's/static final int EV_ONESHOT = 0x0010;/static final int EV_ONESHOT = 0x0004;/' +SUBST_SED.kqueue+= -e 's/static final int EV_CLEAR = 0x0020;/static final int EV_CLEAR = 0x0008;/' .endif PLIST_VARS+= aot internal_vm_compiler jvmci |