Сравнение num-1.3-r1 с num-1.4-r3

/usr/portage/dev-ml/num/num-1.4-r3.ebuild 2023-10-09 14:52:29.792368358 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
# Not using dune for now, bug #775119
6 7
inherit findlib
7 8

  
8 9
DESCRIPTION="Library for arbitrary-precision integer and rational arithmetic"
......
11 12

  
12 13
LICENSE="LGPL-2.1-with-linking-exception"
13 14
SLOT="0"
14
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
15
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
16
IUSE="+ocamlopt"
15 17

  
16
DEPEND=">=dev-lang/ocaml-4.09.0:=[ocamlopt]
17
	>=dev-ml/findlib-1.8.1[ocamlopt]"
18
RDEPEND="${DEPEND}"
19
BDEPEND="${DEPEND}"
20

  
21
PATCHES=(
22
	"${FILESDIR}"/${P}-cflags.patch
23
)
18
RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
19
BDEPEND="${RDEPEND}"
20
DEPEND="dev-ml/findlib:=[ocamlopt?]"
21

  
22
PATCHES=( "${FILESDIR}"/${P}-ocamlopt.patch )
24 23

  
25 24
src_compile() {
26
	emake CFLAGS="${CFLAGS}"
25
	emake CFLAGS="${CFLAGS}" NATDYNLINK="$(usex ocamlopt true false)"
26
}
27

  
28
src_test() {
29
	# Override needed to not use dune
30
	emake test
27 31
}
28 32

  
29 33
src_install() {
30
	findlib_src_preinst
31
	OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}"
34
	findlib_src_install NATDYNLINK="$(usex ocamlopt true false)"
35

  
36
	if has_version ">=dev-ml/findlib-1.9" ; then
37
		# See bug #803275
38
		rm "${ED}/usr/$(get_libdir)/ocaml/num-top/META" || die
39
	fi
32 40
}
Спасибо!