diff --git a/math/scilab/Makefile b/math/scilab/Makefile index 04cff437f6ed..5068327bf945 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -1,200 +1,247 @@ PORTNAME= scilab -DISTVERSION= 6.1.1 -PORTREVISION= 30 +DISTVERSION= 2026.1.0 CATEGORIES= math cad java -MASTER_SITES= https://www.scilab.org/download/${DISTVERSION}/ -DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= thierry@FreeBSD.org COMMENT= Scientific software package for numerical computations WWW= https://www.scilab.org LICENSE= GPLv2 BSD3CLAUSE LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/COPYING-BSD -DEPRECATED= No maintainer, old version, did not keep up with upstream, does not build with Java 11. Mail the maintainer if you use this. -EXPIRATION_DATE= 2026-11-09 - -NO_SHLIB_REQUIRES_GLOB= libjava.so libjvm.so libverify.so - -LIB_DEPENDS= libpcre.so:devel/pcre \ +BUILD_DEPENDS= bash:shells/bash \ + splint:devel/splint \ + rapidjson>0:devel/rapidjson +LIB_DEPENDS= libpcre2-32.so:devel/pcre2 \ libcurl.so:ftp/curl \ libhdf5.so:science/hdf5 \ libarpack.so:math/arpack-ng@mpich \ libfftw3.so:math/fftw3 \ libmatio.so:math/matio \ + libxlnt.so:textproc/xlnt \ + libarrow.so:databases/arrow \ libamd.so:math/suitesparse-amd \ + libklu.so:math/suitesparse-klu \ libumfpack.so:math/suitesparse-umfpack RUN_DEPENDS= xdg-open:devel/xdg-utils -USES= compiler:c++17-lang cpe desktop-file-utils eigen:3,build \ - fortran gettext gmake gnome iconv:wchar_t libtool \ - localbase ncurses pathfix pkgconfig shared-mime-info +USES= compiler:c++20-lang cpe desktop-file-utils eigen:3,build \ + fortran gettext gmake gnome iconv:wchar_t libarchive libtool \ + localbase ncurses pathfix pkgconfig shared-mime-info shebangfix USE_GNOME= libxml2 -JAVA_VERSION= 8 +SHEBANG_FILES= modules/differential_equations/src/scripts/getSundials.sh \ + tools/localization/updateLocalizationModule.sh + +USE_GITLAB= yes + +NO_SHLIB_REQUIRES_GLOB= libjava.so libjvm.so libverify.so + +CONFLICTS= javamail-1* # Difficulties getting along with jakarta-activation +CONFLICTS_INSTALL= sundials-7* +WRKSRC_SUBDIR= ${PORTNAME} GNU_CONFIGURE= yes +USE_CXXSTD= c++20 # Required for arrow +CXXFLAGS+= -D_LIBCPP_ENABLE_CXX20_REMOVED_BINDER_TYPEDEFS +LDFLAGS+= ${ICONV_LIB} CONFIGURE_ARGS= --with-gfortran \ --without-emf \ --with-eigen-include=${LOCALBASE}/include/eigen3 \ ${ICONV_CONFIGURE_ARG} -LDFLAGS+= ${ICONV_LIB} - CONFIGURE_ENV= BLAS_LIBS="${BLASLIB}" LAPACK_LIBS="${LAPACKLIB}" + +MAKE_JOBS_UNSAFE= yes + INSTALL_TARGET= install-strip PLIST_SUB= SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= GUI OCAML TK OPTIONS_RADIO= BLAS -OPTIONS_RADIO_BLAS= ATLAS NETLIB OPENBLAS -OPTIONS_DEFAULT= GUI NETLIB OCAML TK +OPTIONS_RADIO_BLAS= NETLIB OPENBLAS +OPTIONS_DEFAULT= GUI OPENBLAS OCAML TK OPTIONS_EXCLUDE_powerpc64= GUI OPTIONS_EXCLUDE_powerpc64le= GUI OPTIONS_SUB= yes -ATLAS_USES= blaslapack:atlas NETLIB_USES= blaslapack:netlib OPENBLAS_USES= blaslapack:openblas GUI_DESC= Java-based Graphical User Interface OCAML_DESC= Scicos - dynamical system simulator (requires GUI) _JAVADIR= ${LOCALBASE}/share/java # Java dependencies: _GUI_DEPENDS+= ${JAVALIBDIR}/flexdock.jar:devel/flexdock \ ${JAVALIBDIR}/jogl2.jar:graphics/jogamp-jogl \ foprep:math/jeuclid \ ${JAVALIBDIR}/jhall.jar:java/javahelp \ ${JAVALIBDIR}/jrosetta-api.jar:java/jrosetta \ ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging \ ${JAVALIBDIR}/jgraphx.jar:java/jgraphx \ ${JAVALIBDIR}/jlatexmath.jar:math/jlatexmath \ - ${JAVALIBDIR}/ecj-4.4.2.jar:java/eclipse-ecj \ - ${JAVALIBDIR}/lucene-core-5.5.5.jar:textproc/lucene5 + ${JAVALIBDIR}/ecj.jar:java/eclipse-ecj \ + ${JAVALIBDIR}/lucene-core-9.12.2.jar:textproc/lucene9 # Documentation, graphic export: -_GUI_DEPENDS+= ${_JAVADIR}/fop/build/fop.jar:textproc/fop \ +_GUI_DEPENDS+= ${JAVALIBDIR}/fop-core.jar:textproc/fop \ ${JAVALIBDIR}/jlatexmath-fop.jar:math/jlatexmath \ ${_JAVADIR}/batik/lib/batik-all.jar:graphics/batik \ ${JAVALIBDIR}/avalon-framework.jar:devel/avalon-framework \ ${JAVALIBDIR}/commons-io.jar:devel/apache-commons-io \ ${JAVALIBDIR}/xmlgraphics-commons.jar:graphics/xmlgraphics-commons # Code quality: _GUI_DEPENDS+= ${JAVALIBDIR}/commons-beanutils.jar:java/apache-commons-beanutils \ + ${JAVALIBDIR}/commons-collections.jar:java/apache-commons-collections \ ${JAVALIBDIR}/antlr.jar:devel/antlr \ ${JAVALIBDIR}/junit4.jar:java/junit \ ${LOCALBASE}/bin/splint:devel/splint # Documentation building: _GUI_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/javahelp/javahelp.xsl:textproc/docbook-xsl \ - saxon-he>=12.8:textproc/saxon-he \ + ${JAVALIBDIR}/Saxon-HE.jar:textproc/saxon-he \ ${_JAVADIR}/xml-commons/xml-apis-ext.jar:textproc/xml-commons \ xsltproc:textproc/libxslt # Other gui deps: _GUI_DEPENDS+= ${JAVALIBDIR}/looks.jar:devel/jgoodies-looks \ - ${JAVALIBDIR}/skinlf.jar:x11-toolkits/skinlf + ${JAVALIBDIR}/skinlf.jar:x11-toolkits/skinlf \ + ${JAVALIBDIR}/gson.jar:devel/gson \ + ${JAVALIBDIR}/jcef.jar:www/jcef \ + ${JAVALIBDIR}/httpcore5.jar:www/httpcore5 \ + ${JAVALIBDIR}/httpclient5.jar:www/httpclient5 \ + ${JAVALIBDIR}/activation.jar:devel/javax-activation \ + ${JAVALIBDIR}/jakarta.activation-2.0.1.jar:devel/jakarta-activation \ + ${JAVALIBDIR}/jakarta.activation-api.jar:devel/jakarta-activation-api \ + ${JAVALIBDIR}/jaxb-api.jar:devel/jaxb-api \ + ${JAVALIBDIR}/jaxb-impl.jar:devel/jaxb-impl \ + ${JAVALIBDIR}/javax.annotation-api.jar:devel/javax.annotation-api \ + ${JAVALIBDIR}/javafx.base.jar:devel/javafx-jars # Can't use USE_ANT because it overrides do-build target GUI_BUILD_DEPENDS= ${_GUI_DEPENDS} \ ant:devel/apache-ant GUI_RUN_DEPENDS= ${_GUI_DEPENDS} GUI_ALL_TARGET= all doc GUI_USES= gl java +# Failures with recent JDK: it uses LibraryPath.addPath to dynamically modify java.library.path +GUI_VARS= JAVA_VERSION=21 \ + LDFLAGS+="-Wl,-rpath=${JAVA_HOME}/lib -Wl,-rpath=${JAVA_HOME}/lib/server" GUI_USE= GL=gl -GUI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-bin-JAVA_HOME GUI_CONFIGURE_ON= --with-jdk=${JAVA_HOME} \ - --with-docbook=${LOCALBASE}/share/xsl/docbook \ --enable-build-help GUI_CONFIGURE_OFF= --without-gui \ --without-javasci \ --without-xcos \ --disable-build-help OCAML_IMPLIES= GUI OCAML_CONFIGURE_WITH= modelica OCAML_BUILD_DEPENDS= ocaml:lang/ocaml \ - ${LOCALBASE}/lib/ocaml/site-lib/num/META:math/ocaml-num + ocaml-num>0:math/ocaml-num \ + ocamlfind:devel/ocaml-findlib OCAML_RUN_DEPENDS= ocaml:lang/ocaml TK_CONFIGURE_OFF= --without-tk TK_CONFIGURE_ON= --with-tk-library=${LOCALBASE}/lib \ --with-tk-include=${TK_INCLUDEDIR} \ --with-tcl-library=${LOCALBASE}/lib \ --with-tcl-include=${TCL_INCLUDEDIR} TK_USES= tk xorg TK_USE= XORG=x11 TK_RUN_DEPENDS= ${LOCALBASE}/lib/bwidget/init.tcl:x11-toolkits/bwidget .if !exists(/usr/include/omp.h) CONFIGURE_ARGS+= --without-openmp +OMPLIB= "" +.else +OMPLIB= -lomp .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .include .if ${COMPILER_TYPE} == clang CFLAGS+= -Wno-error=int-conversion CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .if ${GCC_DEFAULT} >= 10 # workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar) FFLAGS+= -fallow-argument-mismatch .endif -post-patch: - @${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},' ${WRKSRC}/etc/librarypath.xml - @${REINPLACE_CMD} -e 's, gfortran, ${FC},' ${WRKSRC}/modules/dynamic_link/src/scripts/configure - @${REINPLACE_CMD} -e 's,valgrind,X_X_NONEXIST_X_X,' ${WRKSRC}/configure +pre-patch: + ${CP} ${WRKSRC}/modules/atoms/tests/unit_tests/repositories.orig \ + ${WRKSRC}/modules/atoms/tests/unit_tests/repositories + ${MV} ${WRKSRC}/modules/cacsd/tests/unit_tests/dscr.tst.orig \ + ${WRKSRC}/modules/cacsd/tests/unit_tests/dscr.tst.orig_ + +pre-configure: +.for cf in librarypath.xml jvm_options.xml jvm_options.xml.inst + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g;s|%%JAVA_HOME%%|${JAVA_HOME}|g' \ + -e 's|%%PREFIX%%|${PREFIX}|g' \ + ${WRKSRC}/etc/${cf} +.endfor + ${REINPLACE_CMD} -e 's|%%WRKSRC%%|${WRKSRC}|g' ${WRKSRC}/etc/jvm_options.xml + ${REINPLACE_CMD} -e 's, gfortran, ${FC},' \ + ${WRKSRC}/modules/dynamic_link/src/scripts/configure .if ${COMPILER_TYPE} == clang - @${REINPLACE_CMD} -e 's|std::filesystem|std::__fs::filesystem|g' \ + ${REINPLACE_CMD} -e 's|std::filesystem|std::__fs::filesystem|g' \ ${WRKSRC}/modules/fileio/src/cpp/fullpath.cpp \ ${WRKSRC}/modules/fileio/sci_gateway/cpp/sci_get_absolute_file_path.cpp - @${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \ + ${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \ ${WRKSRC}/modules/ast/includes/types/sparseOp.hxx - @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ + ${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ ${WRKSRC}/modules/ast/src/cpp/types/sparse.cpp .endif + ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ + ${WRKSRC}/modules/string/tests/unit_tests/strsplit.tst -post-patch-GUI-on: +pre-configure-GUI-on: # scilab segfaults on FreeBSD with C locale - @${REINPLACE_CMD} 's,LC_ALL=C,,' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} '/ac_java_jvm_jni_lib_flags/s,\(ljvm\),\1 -pthread,' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/usr/lib/java|${JAVALIBDIR}|g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/usr/lib64/jni|${LOCALBASE}/lib/|g' ${WRKSRC}/configure - @${REINPLACE_CMD} 's,\(DEFAULT_JAR_DIR="\),\1 \ + ${REINPLACE_CMD} 's,LC_ALL=C,,' ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} '/ac_java_jvm_jni_lib_flags/s,\(ljvm\),\1 -pthread,' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|/usr/lib/java|${JAVALIBDIR}|g' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|/usr/lib64/jni|${LOCALBASE}/lib/|g' ${WRKSRC}/configure + ${REINPLACE_CMD} 's,\(DEFAULT_JAR_DIR="\),\1 \ ${JAVALIBDIR} \ ${_JAVADIR} \ ${_JAVADIR}/batik/lib \ ${_JAVADIR}/fop/build \ ${_JAVADIR}/jeuclid/repo \ ${_JAVADIR}/xml-commons \ ,' ${WRKSRC}/configure # Prefer non-versioned files to avoid excessive rebuilds. This also fixes detection of fop. - @${REINPLACE_CMD} 's|batik-all\*\.jar|batik-all.jar|g; \ + ${REINPLACE_CMD} 's|batik-all\*\.jar|batik-all.jar|g; \ s|commons-io\*\.jar|commons-io.jar|g; \ s|commons-logging\*\.jar|commons-logging.jar|g; \ s|fop\*\.jar|fop.jar|g; \ s|jlatexmath\*\.jar|jlatexmath.jar|g; \ s|jrosetta-API.jar|jrosetta-api.jar|g; \ s|saxon9he.jar|saxon-he-*.jar|g; \ s|xmlgraphics-commons\*\.jar|xmlgraphics-commons.jar|g' \ ${WRKSRC}/configure # Part of the jogamp-jogl-2.3 patch: - @${REINPLACE_CMD} -e 's|javax.media.opengl.glu.GLUnurbs|com.jogamp.opengl.glu.GLUnurbs|' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|jogamp.common.os.MachineDescriptionRuntime|jogamp.common.os.MachineDataInfoRuntime|' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/bin/scilab + ${REINPLACE_CMD} -e 's|javax.media.opengl.glu.GLUnurbs|com.jogamp.opengl.glu.GLUnurbs|' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|jogamp.common.os.MachineDescriptionRuntime|jogamp.common.os.MachineDataInfoRuntime|' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/bin/scilab + +post-configure: + ${REINPLACE_CMD} -e 's|UTF-8 .UTF-8|UTF-8 LC_ALL=C.UTF-8|' ${WRKSRC}/Makefile + +post-stage: + ${CP} ${WRKSRC}/etc/jvm_options.xml.inst \ + ${STAGEDIR}${DATADIR}/etc/jvm_options.xml pre-install: ${MKDIR} ${STAGEDIR}${DATADIR}/.atoms post-install: @${FIND} ${STAGEDIR}${DATADIR}/modules -type d -empty -delete .include diff --git a/math/scilab/distinfo b/math/scilab/distinfo index b77d000818c3..04053e254dc1 100644 --- a/math/scilab/distinfo +++ b/math/scilab/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1626807367 -SHA256 (scilab-6.1.1-src.tar.gz) = e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207 -SIZE (scilab-6.1.1-src.tar.gz) = 82169007 +TIMESTAMP = 1785507711 +SHA256 (scilab-2026.1.0.tar.bz2) = ef58c830cdf6c8494d690144f3b58ab2898c2485526f54650ce2fd3ac329dbaa +SIZE (scilab-2026.1.0.tar.bz2) = 113008593 diff --git a/math/scilab/files/patch-Makefile.in b/math/scilab/files/patch-Makefile.in deleted file mode 100644 index a22970479004..000000000000 --- a/math/scilab/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2021-07-15 11:54:56 UTC -+++ Makefile.in -@@ -2517,7 +2517,7 @@ install-data-local: - - .PHONY: macros localization doc strip-debug - --.NOTPARALLEL: macros doc -+.NOTPARALLEL: - - # Construct the LD_LIBRARY_PATH from the variable detected previously - # Run the unitary test of call_scilab diff --git a/math/scilab/files/patch-bin_scilab b/math/scilab/files/patch-bin_scilab index 08ffb8578f9d..11c62f7a66df 100644 --- a/math/scilab/files/patch-bin_scilab +++ b/math/scilab/files/patch-bin_scilab @@ -1,33 +1,33 @@ ---- bin/scilab.orig 2020-02-25 10:59:42.000000000 +0100 -+++ bin/scilab 2021-01-25 02:36:29.251977000 +0100 -@@ -184,7 +187,7 @@ +--- bin/scilab.orig 2026-05-19 09:32:07 UTC ++++ bin/scilab +@@ -184,7 +184,7 @@ detect_os() { OS=$(uname -s) # Retrieve the Operating System fi if test "${MODEL}" = ""; then - MODEL=$(uname -m) # Retrieve the model + MODEL=$(uname -p) # Retrieve the model fi if test $SCIVERBOSE -ne 0; then -@@ -622,7 +625,20 @@ - set_macosx_java_vm +@@ -605,7 +605,20 @@ detect_java_vm() { + JAVA_SHLIB="jvm.dll" ;; *FreeBSD*) - proc=$MODEL + case $MODEL in + "powerpc") + proc="ppc" + ;; + "powerpc64") + proc="ppc64" + ;; + "powerpc64le") + proc="ppc64le" + ;; + *) + proc=$MODEL + ;; + esac ;; - *) - echo "Could not find the Java configuration for the OS <${OS}>. Please contact us or submit a bug report with your detailed configuration http://bugzilla.scilab.org/" + Darwin) + proc=$MODEL diff --git a/math/scilab/files/patch-configure b/math/scilab/files/patch-configure index 0a2e5e1c7d3d..de68244a0828 100644 --- a/math/scilab/files/patch-configure +++ b/math/scilab/files/patch-configure @@ -1,51 +1,83 @@ ---- configure.orig 2020-02-25 09:59:42 UTC +--- configure.orig 2026-05-19 09:32:07 UTC +++ configure -@@ -9995,7 +9995,7 @@ if test -z "$CXX"; then - fi - - case "$CXX" in -- g++-* | g++ | ccache*g++ | ccache*g++-* ) -+ g++-* | g++ | ccache*g++ | ccache*g++-* | c++ | clang++* ) - ## With GNU C++ Compiler +@@ -10903,7 +10903,7 @@ g++-* | g++ | ccache*g++ | ccache*g++-* ) + fi + ;; - # enable the code coverage -@@ -10022,7 +10022,7 @@ esac +-*clang++ | clang++*) ++c++ | *clang++ | clang++*) + # enable the code coverage + if test "$enable_code_coverage" = yes; then + CODECOVERAGE_CXXFLAGS="-fprofile-arcs -ftest-coverage" +@@ -10968,7 +10968,7 @@ case "$host" in #### 64 bits detection IS_64_BITS_CPU=false case "$host" in - x86_64-*-linux-gnu | x86_64-linux-gnu | ia64-*-linux-gnu | alpha-*-linux-gnu | alpha-*-netbsd* | x86_64-*-netbsd* | sparc64-*-netbsd*) + x86_64-*-linux-gnu | x86_64-linux-gnu | ia64-*-linux-gnu | alpha-*-linux-gnu | alpha-*-netbsd* | x86_64-*-netbsd* | sparc64-*-netbsd* | amd64-*-freebsd* | powerpc64*-*-freebsd*) IS_64_BITS_CPU=true ;; esac -@@ -10030,7 +10030,7 @@ esac - ##########" +@@ -10978,7 +10978,7 @@ case "$CC" in + ############ case "$CC" in -- gcc-* | gcc | ccache*gcc | ccache*gcc-* ) -+ gcc-* | gcc | ccache*gcc | ccache*gcc-* | cc | clang* ) - ## With GNU Compiler - - # enable the code coverage -@@ -13126,7 +13126,7 @@ - ;; - *) - +-gcc-* | gcc | ccache*gcc | ccache*gcc-* ) ++gcc-* | gcc | ccache*gcc | ccache*gcc-* | cc | clang** ) + ## With GNU Compiler + + # enable the code coverage +@@ -11292,11 +11292,11 @@ fi + fi + + +-# check if the compiler supports c++17 ++# check if the compiler supports c++20 (required for arrow) + saved_cppflags="$CXXFLAGS" + CXXFLAGS="" + +- ax_cxx_compile_alternatives="17 1z" ax_cxx_compile_cxx17_required=true ++ ax_cxx_compile_alternatives="20 1z" ax_cxx_compile_cxx17_required=true + ac_ext=cpp + ac_cpp='$CXXCPP $CPPFLAGS' + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -12152,7 +12152,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + if test x$ax_cxx_compile_cxx17_required = xtrue; then + if test x$ac_success = xno; then +- as_fn_error $? "*** A compiler with support for C++17 language features is required." "$LINENO" 5 ++ as_fn_error $? "*** A compiler with support for C++20 language features is required." "$LINENO" 5 + fi + fi + if test x$ac_success = xno; then +@@ -15104,7 +15104,7 @@ printf "%s\n" "$ac_cv_java_jvm_jni_working" >&6; } + JAVA_JNI_INCLUDE=$ac_java_jvm_jni_include_flags + + - machine=`uname -m` + machine=`uname -p` case "$machine" in i?86) machine=i386 -@@ -13142,10 +13142,10 @@ +@@ -15120,10 +15120,10 @@ printf "%s\n" "$ac_cv_java_jvm_jni_working" >&6; } powerpc) machine=ppc ;; - ppc64le) + powerpc64le|ppc64le) machine=ppc64le ;; - ppc64) + powerpc64|ppc64) machine=ppc64 ;; armv*) +@@ -36925,7 +36925,7 @@ if test "$with_openmp" != no; then + # AC_OPENMP + OPENMP_CFLAGS="-fopenmp" + OPENMP_CXXFLAGS="-fopenmp" +- OPENMP_LIBS="-lgomp" ++ OPENMP_LIBS="-lomp" + + for ac_header in omp.h + do : diff --git a/math/scilab/files/patch-etc_classpath.xml.in b/math/scilab/files/patch-etc_classpath.xml.in new file mode 100644 index 000000000000..6646958877e8 --- /dev/null +++ b/math/scilab/files/patch-etc_classpath.xml.in @@ -0,0 +1,19 @@ +--- etc/classpath.xml.in.orig 2026-05-19 09:32:07 UTC ++++ etc/classpath.xml.in +@@ -102,13 +102,13 @@ --> + + + +- ++ + + + +- ++ + + + diff --git a/math/scilab/files/patch-etc_jvm__options.xml b/math/scilab/files/patch-etc_jvm__options.xml new file mode 100644 index 000000000000..b9cfe50e90e3 --- /dev/null +++ b/math/scilab/files/patch-etc_jvm__options.xml @@ -0,0 +1,24 @@ +--- etc/jvm_options.xml.orig 2026-05-19 09:32:07 UTC ++++ etc/jvm_options.xml +@@ -16,7 +16,8 @@ --> + $SCILAB : scilab path (SCI in Scilab) + --> + +-