Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/num/
Date: Sun, 07 Nov 2021 01:26:07
Message-Id: 1636248040.bab04cdceaa5297441c9961cd3543e431e1a9ffe.sam@gentoo
1 commit: bab04cdceaa5297441c9961cd3543e431e1a9ffe
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 7 01:20:40 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 7 01:20:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab04cdc
7
8 dev-ml/num: fix handling of ocamlopt
9
10 Closes: https://bugs.gentoo.org/821988
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-ml/num/{num-1.4-r2.ebuild => num-1.4-r3.ebuild} | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-ml/num/num-1.4-r2.ebuild b/dev-ml/num/num-1.4-r3.ebuild
17 similarity index 93%
18 rename from dev-ml/num/num-1.4-r2.ebuild
19 rename to dev-ml/num/num-1.4-r3.ebuild
20 index cf3d3b3bc4c..70fe28fb9f8 100644
21 --- a/dev-ml/num/num-1.4-r2.ebuild
22 +++ b/dev-ml/num/num-1.4-r3.ebuild
23 @@ -16,7 +16,8 @@ KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-
24 IUSE="+ocamlopt"
25
26 RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
27 -DEPEND="dev-ml/findlib:="
28 +BDEPEND="${RDEPEND}"
29 +DEPEND="dev-ml/findlib:=[ocamlopt?]"
30
31 src_compile() {
32 emake CFLAGS="${CFLAGS}" NATDYNLINK="$(usex ocamlopt true false)"