git: 7a8f1bb9a37e - main - devel/tijmp: allow compiling with any jdk

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Fri, 06 Feb 2026 13:48:04 UTC
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a8f1bb9a37e54e870f83802f381d67e9c485de1

commit 7a8f1bb9a37e54e870f83802f381d67e9c485de1
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-02-06 13:41:36 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-02-06 13:42:32 +0000

    devel/tijmp: allow compiling with any jdk
    
    PR:     272855
---
 devel/tijmp/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/devel/tijmp/Makefile b/devel/tijmp/Makefile
index 9c1839bc0fb7..5dad48f02627 100644
--- a/devel/tijmp/Makefile
+++ b/devel/tijmp/Makefile
@@ -30,7 +30,11 @@ OPTIONS_DEFINE=	DOCS OPTIMIZED_CFLAGS
 OPTIMIZED_CFLAGS_CFLAGS=	-O3
 
 post-patch:
-	@${REINPLACE_CMD} '/^jardir =/s|=.*|= ${JAVAJARDIR}|' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD}
+		-e '/^jardir =/s|=.*|= ${JAVAJARDIR}|' \
+		-e 's| -source 1.6 | |' \
+		${WRKSRC}/Makefile.in
 	@${SED} -i "" -e 's|/../share/java|${JAVAJARDIR}|' ${WRKSRC}/src/tijmp.c
 
+
 .include <bsd.port.mk>