summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-07 01:20:40 +0000
committerSam James <sam@gentoo.org>2021-11-07 01:20:40 +0000
commitbab04cdceaa5297441c9961cd3543e431e1a9ffe (patch)
tree44a514d598a0ae36450838b50ceb04b064048e5c /dev-ml
parentdev-ml/labltk: add 8.06.11 (diff)
downloadgentoo-bab04cdceaa5297441c9961cd3543e431e1a9ffe.tar.gz
gentoo-bab04cdceaa5297441c9961cd3543e431e1a9ffe.tar.bz2
gentoo-bab04cdceaa5297441c9961cd3543e431e1a9ffe.zip
dev-ml/num: fix handling of ocamlopt
Closes: https://bugs.gentoo.org/821988 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/num/num-1.4-r3.ebuild (renamed from dev-ml/num/num-1.4-r2.ebuild)3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-ml/num/num-1.4-r2.ebuild b/dev-ml/num/num-1.4-r3.ebuild
index cf3d3b3bc4c9..70fe28fb9f8c 100644
--- a/dev-ml/num/num-1.4-r2.ebuild
+++ b/dev-ml/num/num-1.4-r3.ebuild
@@ -16,7 +16,8 @@ KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-
IUSE="+ocamlopt"
RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
-DEPEND="dev-ml/findlib:="
+BDEPEND="${RDEPEND}"
+DEPEND="dev-ml/findlib:=[ocamlopt?]"
src_compile() {
emake CFLAGS="${CFLAGS}" NATDYNLINK="$(usex ocamlopt true false)"