git: a0358837921a - main - math/ipopt: Disable Java option

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 04 Mar 2022 19:13:42 UTC
The branch main has been updated by yuri:

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

commit a0358837921aa74b09045b942f36a228dc82f86d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-04 19:11:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-04 19:11:49 +0000

    math/ipopt: Disable Java option
    
    It was breaking when guavac, jikes, or javac executables were found.
    
    PR:             262347
    Reported by:    gja822@narod.ru
---
 math/ipopt/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/math/ipopt/Makefile b/math/ipopt/Makefile
index 5489c19225de..f6834da1f2c9 100644
--- a/math/ipopt/Makefile
+++ b/math/ipopt/Makefile
@@ -25,7 +25,8 @@ INSTALL_TARGET=	install-strip
 CONFIGURE_ENV+=	PKG_CONFIG_PATH=${PREFIX}/libdata/pkgconfig \
 		CXX="${CXX} -B${LOCALBASE}/bin"
 CONFIGURE_ARGS=	--with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib"	\
-		--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib"
+		--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib" \
+		--disable-java
 
 CXXFLAGS+=	-ffast-math
 DEBUG_CXXFLAGS=	-fomit-frame-pointer