Diff sundials-6.5.0 with a sundials-7.3.0
| /usr/portage/sci-libs/sundials/sundials-7.3.0.ebuild 2025-07-29 16:22:17.340467776 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 17 | 17 |
LICENSE="BSD" |
| 18 | 18 |
SLOT="0/$(ver_cut 1)" |
| 19 | 19 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
| 20 |
IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" |
|
| 20 |
IUSE="doc fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" |
|
| 21 | 21 |
REQUIRED_USE=" |
| 22 | 22 |
fortran? ( static-libs ) |
| 23 | 23 |
hypre? ( mpi ) |
| ... | ... | |
| 36 | 36 |
DEPEND="${RDEPEND}"
|
| 37 | 37 | |
| 38 | 38 |
PATCHES=( |
| 39 |
"${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch
|
|
| 39 |
"${FILESDIR}"/${P}-fix-license-install-path.patch
|
|
| 40 | 40 |
) |
| 41 | 41 | |
| 42 | 42 |
pkg_pretend() {
|
| ... | ... | |
| 80 | 80 |
-DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)" |
| 81 | 81 |
-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
|
| 82 | 82 |
-DSUPERLUMT_LIBRARY="-lsuperlu_mt" |
| 83 |
-DUSE_GENERIC_MATH=ON |
|
| 84 | 83 |
) |
| 85 | 84 | |
| 86 |
if use examples; then |
|
| 87 |
mycmakeargs+=( |
|
| 88 |
-DEXAMPLES_ENABLE_C=ON |
|
| 89 |
-DEXAMPLES_ENABLE_CXX=ON |
|
| 90 |
) |
|
| 91 |
if use fortran; then |
|
| 92 |
mycmakeargs+=( |
|
| 93 |
-DEXAMPLES_ENABLE_F2003=ON |
|
| 94 |
) |
|
| 95 |
fi |
|
| 96 |
fi |
|
| 97 | ||
| 98 | 85 |
if use fortran; then |
| 99 | 86 |
mycmakeargs+=( |
| 100 | 87 |
-DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran"
|