pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/openjdk11



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Apr  3 00:30:19 UTC 2022

Modified Files:
        pkgsrc/lang/openjdk11: Makefile

Log Message:
openjdk11: Fix more NetBSD kqueue values

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/openjdk11/Makefile

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

Modified files:

Index: pkgsrc/lang/openjdk11/Makefile
diff -u pkgsrc/lang/openjdk11/Makefile:1.40 pkgsrc/lang/openjdk11/Makefile:1.41
--- pkgsrc/lang/openjdk11/Makefile:1.40 Tue Mar  1 13:51:44 2022
+++ pkgsrc/lang/openjdk11/Makefile      Sun Apr  3 00:30:19 2022
@@ -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.deskto
 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



Home | Main Index | Thread Index | Old Index