Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2026 19:30:26 +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: dcf71721d6e0 - main - lang/bsh: unpin openjdk8
Message-ID:  <69d6acd2.36e63.44fdc363@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=dcf71721d6e0d3a980afdb3a805245ffac0c532c

commit dcf71721d6e0d3a980afdb3a805245ffac0c532c
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-04-08 19:28:05 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-04-08 19:30:00 +0000

    lang/bsh: unpin openjdk8
    
    Builds fine with modern JDK.
    The port is used in other ports that require openjdk8 so let it
    generate openjdk8 compatible class files.
    
    Approved-by:    no maintainer
---
 lang/bsh/Makefile              |  3 +--
 lang/bsh/files/patch-build.xml | 44 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 2 deletions(-)

diff --git a/lang/bsh/Makefile b/lang/bsh/Makefile
index 72e0a32f3b4f..bbb62c690997 100644
--- a/lang/bsh/Makefile
+++ b/lang/bsh/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bsh
 DISTVERSION=	2.1.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	lang java
 
 MAINTAINER=	ports@FreeBSD.org
@@ -10,7 +10,6 @@ WWW=		http://www.beanshell.org/
 LICENSE=	APACHE20
 
 USES=		java:ant,run
-JAVA_VERSION=	8
 USE_GITHUB=	yes
 GH_ACCOUNT=	beanshell
 GH_PROJECT=	beanshell
diff --git a/lang/bsh/files/patch-build.xml b/lang/bsh/files/patch-build.xml
new file mode 100644
index 000000000000..fb1303b351b0
--- /dev/null
+++ b/lang/bsh/files/patch-build.xml
@@ -0,0 +1,44 @@
+--- build.xml.orig	2026-04-08 19:21:08 UTC
++++ build.xml
+@@ -178,8 +178,8 @@ -->
+ 			debug="on"
+ 			includes="**/*.java"
+ 			excludes="${excludes},**/bak/**"
+-			source="1.6"
+-			target="1.6"
++			source="8"
++			target="8"
+ 		>
+ 			<classpath>
+ 				<fileset refid="lib-fileset"/>
+@@ -213,8 +213,8 @@ -->
+ 			debug="on"
+ 			includes="**/*.java"
+ 			excludes="${excludes},**/bak/**"
+-			source="1.6"
+-			target="1.6"
++			source="8"
++			target="8"
+ 		>
+ 			<classpath>
+ 				<fileset refid="lib-fileset"/>
+@@ -255,7 +255,7 @@ -->
+ 			 destdir="${javadoc-dir}"
+ 			 author="true"
+ 			 version="true"
+-			 source="1.6"
++			 source="8"
+ 			 use="true"
+ 			 windowtitle="BeanShell ${version}"
+ 			 doctitle="&lt;h1&gt;BeanShell ${version}&lt;h1&gt;"
+@@ -680,8 +680,8 @@ -->
+ 				destdir="${build-dir}"
+ 				debug="on"
+ 				debuglevel="lines,vars,source"
+-				source="1.6"
+-				target="1.6"
++				source="8"
++				target="8"
+ 			  >
+ 		 <classpath>
+ 			<path refid="test-classpath"/>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d6acd2.36e63.44fdc363>