Diff labltk-8.06.11-r1 with a labltk-8.06.12-r2

/usr/portage/dev-ml/labltk/labltk-8.06.12-r2.ebuild 2023-10-09 14:52:29.792368358 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit findlib toolchain-funcs
7 7

  
......
11 11

  
12 12
LICENSE="QPL-1.0 LGPL-2"
13 13
SLOT="0/${PV}"
14
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
14
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
15 15
IUSE="+ocamlopt X"
16 16

  
17 17
RDEPEND="dev-lang/tk:=
18
	=dev-lang/ocaml-4.13*:=[ocamlopt?,X(+)?]"
18
	>=dev-lang/ocaml-4.14:=[ocamlopt?,X(+)?]"
19 19
DEPEND="${RDEPEND}
20 20
	dev-ml/findlib
21 21
"
......
23 23
PATCHES=(
24 24
	"${FILESDIR}/findlib.patch"
25 25
	"${FILESDIR}"/${PN}-8.06.9-configure-clang16.patch
26
	"${FILESDIR}"/${P}-shuffle.patch
27
	"${FILESDIR}"/${P}-c2x.patch
26 28
)
27 29

  
28 30
src_prepare() {
......
38 40
}
39 41

  
40 42
src_compile() {
41
	emake -j1
43
	emake -j1 all
42 44
	use ocamlopt && emake -j1 opt
43 45
}
44 46

  
......
48 50
	emake \
49 51
		INSTALLDIR="${D}/$(ocamlc -where)/labltk" \
50 52
		INSTALLBINDIR="${ED}/usr/bin/" \
53
		RANLIB=$(tc-getRANLIB) \
51 54
		install
52 55
	dodoc Changes README.mlTk
53 56
}
Thank you!