Diff findlib-1.8.1-r2 with a findlib-1.9.3
/usr/portage/dev-ml/findlib/findlib-1.9.3.ebuild 2024-12-25 14:59:48.391270072 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
9 | 9 | |
10 | 10 |
LICENSE="MIT" |
11 | 11 |
SLOT="0" |
12 |
KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
12 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
13 | 13 |
IUSE="doc +ocamlopt tk" |
14 | 14 | |
15 | 15 |
DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] |
16 |
<dev-lang/ocaml-4.13 |
|
17 | 16 |
tk? ( dev-ml/labltk:= )" |
18 | 17 |
RDEPEND="${DEPEND}" |
19 | 18 | |
20 | 19 |
QA_FLAGS_IGNORED='.*' |
21 | 20 | |
22 |
PATCHES=( "${FILESDIR}"/externalmeta7.patch ) |
|
23 | ||
24 | 21 |
src_prepare() { |
25 | 22 |
default |
26 | 23 |
export ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml" |
... | ... | |
45 | 42 |
} |
46 | 43 | |
47 | 44 |
src_install() { |
48 |
# OCaml generates textrels on 32-bit arches |
|
49 |
if use arm || use ppc || use x86 ; then |
|
50 |
export QA_TEXTRELS='.*' |
|
51 |
fi |
|
52 | 45 |
emake prefix="${D}" install |
53 | 46 | |
54 | 47 |
dodir "${stublibs#${EPREFIX}}" |
... | ... | |
59 | 52 |
docinto html |
60 | 53 |
dodoc -r ref-html guide-html |
61 | 54 |
fi |
55 | ||
56 |
# See bug #803275 and bug #833604 |
|
57 |
rm -f "${ED}"/usr/$(get_libdir)/ocaml/{ocamlbuild,labltk}/META || die |
|
62 | 58 |
} |
63 | 59 | |
64 | 60 |
check_stublibs() { |