Diff sundials-5.8.0 with a sundials-6.2.0

/usr/portage/sci-libs/sundials/sundials-6.2.0.ebuild 2024-07-02 13:51:49.321851592 +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

  
......
64 65
	filter-lto
65 66

  
66 67
	mycmakeargs+=(
67
		-DBUILD_FORTRAN77_INTERFACE=$(usex fortran)
68 68
		-DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran)
69 69
		-DBUILD_SHARED_LIBS=ON
70 70
		-DBUILD_STATIC_LIBS=$(usex static-libs)
......
82 82
		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
83 83
		-DUSE_GENERIC_MATH=ON
84 84
	)
85

  
85 86
	if use examples; then
86 87
		mycmakeargs+=(
87 88
			-DEXAMPLES_ENABLE_C=ON
......
111 112

  
112 113
	if use sparse; then
113 114
		mycmakeargs+=(
114
		-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
115
			-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
115 116
		)
116 117
	fi
118

  
117 119
	cmake_src_configure
118 120
}
119 121

  
Thank you!