git: 478c524bc91c - main - java/bouncycastle: do not depend on javamail

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Fri, 07 Aug 2026 16:49:57 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=478c524bc91cad9a5956e06dda337941879058bc

commit 478c524bc91cad9a5956e06dda337941879058bc
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-08-07 16:46:56 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-08-07 16:49:52 +0000

    java/bouncycastle: do not depend on javamail
    
    Bouncycastle does not depend anymore on javamail, it comes with javax.mail
    and jakarta.mail.
---
 java/bouncycastle/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/java/bouncycastle/Makefile b/java/bouncycastle/Makefile
index 67124a3f3454..07fce836c65a 100644
--- a/java/bouncycastle/Makefile
+++ b/java/bouncycastle/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	bouncycastle
 DISTVERSION=	1.83
+PORTREVISION=	1
 CATEGORIES=	java security
 MASTER_SITES=	https://github.com/bcgit/bc-java/archive/refs/tags/
 DISTNAME=	r${DVERSION1}rv${DVERSION2}
@@ -14,9 +15,7 @@ LICENSE=	APACHE20 MIT
 LICENSE_COMB=	multi
 LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.html
 
-BUILD_DEPENDS=	${JAVALIBDIR}/junit.jar:java/junit \
-		${JAVALIBDIR}/mail.jar:java/javamail
-RUN_DEPENDS=	${JAVALIBDIR}/mail.jar:java/javamail
+BUILD_DEPENDS=	${JAVALIBDIR}/junit.jar:java/junit
 
 USES=		cpe java:ant,run
 CPE_VENDOR=	${PORTNAME}