dev-ml/num: try to disable ocamlopt

Closes: https://bugs.gentoo.org/795780
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-06-13 18:14:31 +00:00
parent 0b27a07151
commit 03cf4b9416

View File

@@ -18,7 +18,7 @@ IUSE="+ocamlopt"
RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
src_compile() {
emake CFLAGS="${CFLAGS}"
emake CFLAGS="${CFLAGS}" NATDYNLINK="$(usex ocamlopt true false)"
}
src_test() {
@@ -28,5 +28,5 @@ src_test() {
src_install() {
findlib_src_preinst
OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}"
OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}" NATDYNLINK="$(usex ocamlopt true false)"
}