Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2026 12:13:58 +0000
From:      Ronald Klop <ronald@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 496bc1f119e8 - main - lang/rhino: fix build with jdk11+
Message-ID:  <69d79806.24de1.2bf28afb@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=496bc1f119e860e5921d42e413c051f51cc44799

commit 496bc1f119e860e5921d42e413c051f51cc44799
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-04-08 13:37:34 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-04-09 12:13:36 +0000

    lang/rhino: fix build with jdk11+
    
    unpin openjdk8
    
    PR:     294332
    Approved-by:    maintainer (Nicola Vitale)
---
 lang/rhino/Makefile                     |  3 +--
 lang/rhino/files/patch-build.properties | 13 +++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/lang/rhino/Makefile b/lang/rhino/Makefile
index 4395fdc29c25..73812eb1fb67 100644
--- a/lang/rhino/Makefile
+++ b/lang/rhino/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rhino
 DISTVERSION=	1_7R4
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	lang java
 MASTER_SITES=	GHC \
 		LOCAL/nivit/${PORTNAME}/:swingex \
@@ -34,7 +34,6 @@ OPTIONS_DEFINE=	LINEDIT
 USES=		zip
 USE_GITHUB=	yes
 GH_ACCOUNT=	mozilla
-JAVA_VERSION=	8
 
 .include <bsd.port.options.mk>
 
diff --git a/lang/rhino/files/patch-build.properties b/lang/rhino/files/patch-build.properties
new file mode 100644
index 000000000000..a365cae8b859
--- /dev/null
+++ b/lang/rhino/files/patch-build.properties
@@ -0,0 +1,13 @@
+--- build.properties.orig	2026-04-08 13:02:03 UTC
++++ build.properties
+@@ -21,8 +21,8 @@ debug: on
+ 
+ # compilation settings
+ debug: on
+-target-jvm: 1.5
+-source-level: 1.5
++target-jvm: 8
++source-level: 8
+ 
+ # jar generation settings
+ jar-compression: true


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d79806.24de1.2bf28afb>