Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: jruby vs jdk updates
To:
ports@openbsd.org, Theo Buehler <tb@theobuehler.org>
Cc:
kurt@openbsd.org, jeremy@openbsd.org
Date:
Mon, 02 Feb 2026 13:34:12 +0000

Download raw body.

Thread
2 февраля 2026 г. 11:21:47 UTC, Theo Buehler <tb@theobuehler.org> пишет:
>jruby has a file containing the jdk version. whenever the jdk/21 minor
>version changes, jruby no longer packages. I fixed this up a couple of
>times recently but I wonder if there's a better way of handling this.

Put the version behind JDK_VER in jruby and pass it through SUBST_VARS?

That way it should package, although jdk updates still warrant manual revision bumps, of course.

>
>At least there should be a comment in jdk/21.
>
>Here's what I just committed:
>
>Index: Makefile
>===================================================================
>RCS file: /cvs/ports/lang/jruby/Makefile,v
>diff -u -p -r1.126 -r1.127
>--- Makefile	5 Nov 2025 09:46:48 -0000	1.126
>+++ Makefile	2 Feb 2026 11:15:43 -0000	1.127
>@@ -9,7 +9,7 @@ PKGNAME =	jruby-${V}
> CATEGORIES =	lang lang/ruby
> DISTFILES.jffi =jffi-1.3.10.tar.gz
> DISTFILES.gem =	${JRUBY_LAUNCHER_GEM}
>-REVISION =	0
>+REVISION =	1
> 
> HOMEPAGE =	http://www.jruby.org/
> 
>Index: pkg/PLIST
>===================================================================
>RCS file: /cvs/ports/lang/jruby/pkg/PLIST,v
>diff -u -p -r1.79 -r1.80
>--- pkg/PLIST	5 Nov 2025 09:46:48 -0000	1.79
>+++ pkg/PLIST	2 Feb 2026 11:15:43 -0000	1.80
>@@ -20,7 +20,7 @@ jruby/lib/
> jruby/lib/jni/
> jruby/lib/jni/${JFFI_ARCH}/
> @so jruby/lib/jni/${JFFI_ARCH}/libjffi-1.2.so
>-jruby/lib/jruby-java21.0.9.jsa
>+jruby/lib/jruby-java21.0.10.jsa
> jruby/lib/jruby.jar
> jruby/lib/ruby/
> jruby/lib/ruby/3.1/
>