git: 8f10e31c83fa - main - cad/surelog: Add commend about USE_JAVA

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 05 Apr 2023 15:39:57 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f10e31c83fae1d17bed698548805024db7ee217

commit 8f10e31c83fae1d17bed698548805024db7ee217
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-05 15:39:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-05 15:39:55 +0000

    cad/surelog: Add commend about USE_JAVA
---
 cad/surelog/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cad/surelog/Makefile b/cad/surelog/Makefile
index d5238aba3cb5..d1c01745346e 100644
--- a/cad/surelog/Makefile
+++ b/cad/surelog/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS=	libcapnp.so:devel/capnproto \
 		libuhdm.so:cad/uhdm
 
 USES=		cmake:testing compiler:c++17-lang localbase:ldflags tcl:86,build
-USE_JAVA=	17
+USE_JAVA=	17 # Java selection fails in cmake when Java 11 is also installed, see https://gitlab.kitware.com/cmake/cmake/-/issues/24674
 USE_LDCONFIG=	${PREFIX}/lib ${PREFIX}/lib/surelog
 
 USE_GITHUB=	yes