Diff labltk-8.06.9-r1 with a labltk-8.06.10-r1
/usr/portage/dev-ml/labltk/labltk-8.06.10-r1.ebuild 2023-10-09 14:52:29.792368358 +0300 | ||
---|---|---|
8 | 8 |
DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework" |
9 | 9 |
HOMEPAGE="https://garrigue.github.io/labltk/" |
10 | 10 |
SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
11 |
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-warnings.patch.bz2" |
|
11 | 12 | |
12 | 13 |
LICENSE="QPL-1.0 LGPL-2" |
13 | 14 |
SLOT="0/${PV}" |
14 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
|
15 |
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux" |
|
15 | 16 |
IUSE="+ocamlopt X" |
16 | 17 | |
17 | 18 |
RDEPEND="dev-lang/tk:= |
18 |
<dev-lang/ocaml-4.12 |
|
19 |
<dev-lang/ocaml-4.13 |
|
19 | 20 |
>=dev-lang/ocaml-4.11:=[ocamlopt?,X(+)?]" |
20 | 21 |
DEPEND="${RDEPEND} |
21 | 22 |
dev-ml/findlib |
... | ... | |
24 | 25 |
PATCHES=( |
25 | 26 |
"${FILESDIR}/findlib.patch" |
26 | 27 |
"${FILESDIR}"/${PN}-8.06.9-configure-clang16.patch |
28 |
"${WORKDIR}"/${P}-warnings.patch |
|
27 | 29 |
) |
28 | 30 | |
29 | 31 |
src_prepare() { |
32 |
has_version "dev-lang/ocaml:0/4.11" && \ |
|
33 |
eapply "${FILESDIR}"/${P}-this-expression-has-type.patch |
|
30 | 34 |
sed -i \ |
31 | 35 |
-e "s|ranlib|$(tc-getRANLIB)|" \ |
32 | 36 |
frx/Makefile \ |