Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Mar 2026 13:57:05 +0000
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 36a3d28e41f8 - main - math/octave: restrict required java version to 11+ (+)
Message-ID:  <69a445b1.1f8fb.7b1dbc51@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fluffy:

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

commit 36a3d28e41f8c440d09150e26cb7b76e6ddf1688
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-03-01 13:52:37 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-03-01 13:52:37 +0000

    math/octave: restrict required java version to 11+ (+)
    
    octave require java-1.9+ to build java bindings and skip it if found java-1.8
    
    checking for Java version... 1.8.0_482
    configure: WARNING: Java version is too old (< 1.9).  Octave will not be able to call Java methods.
    ...
    pkg-static: Unable to access file /usr/ports/math/octave/work/stage/usr/local/share/octave/11.1.0/m/java/octave.jar:No such file or directory
    
    Reported by:    root@dc365.ru
    Approved by:    portmgr blanket
---
 math/octave/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/octave/Makefile b/math/octave/Makefile
index cc0fd6a26bd5..9600faa835ab 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -107,6 +107,7 @@ DOCS_USES=	tex
 DOCS_USE=	TEX=dvipsk:build,formats:build
 JAVA_USES=	java
 JAVA_CFLAGS=	-I${JAVA_HOME}/include/${OPSYS:tl}
+JAVA_VARS=	JAVA_VERSION=11+
 QT6_USES=	qt:6
 OPENBLAS_USES=	blaslapack:openblas
 NETLIB_USES=	blaslapack:netlib


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a445b1.1f8fb.7b1dbc51>