Diff sundials-5.8.0 with a sundials-6.2.0

/usr/portage/sci-libs/sundials/sundials-6.2.0.ebuild 2023-10-09 14:52:35.096368491 +0300
36 36
DEPEND="${RDEPEND}"
37 37

  
38 38
PATCHES=(
39
		"${FILESDIR}"/${P}-fix-license-install-path.patch
39
	"${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch
40 40
)
41 41

  
42 42
pkg_pretend() {
......
45 45

  
46 46
pkg_setup() {
47 47
	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
48

  
48 49
	use fortran && fortran-2_pkg_setup
49 50
}
50 51

  
......
58 59

  
59 60
src_configure() {
60 61
	mycmakeargs+=(
61
		-DBUILD_FORTRAN77_INTERFACE=$(usex fortran)
62 62
		-DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran)
63 63
		-DBUILD_SHARED_LIBS=ON
64 64
		-DBUILD_STATIC_LIBS=$(usex static-libs)
......
76 76
		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
77 77
		-DUSE_GENERIC_MATH=ON
78 78
	)
79

  
79 80
	if use examples; then
80 81
		mycmakeargs+=(
81 82
			-DEXAMPLES_ENABLE_C=ON
......
105 106

  
106 107
	if use sparse; then
107 108
		mycmakeargs+=(
108
		-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
109
			-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
109 110
		)
110 111
	fi
112

  
111 113
	cmake_src_configure
112 114
}
113 115

  
Thank you!