Skip to content

Commit

Permalink
dev-ml/num: try to disable ocamlopt
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/795780
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jun 13, 2021
1 parent 0b27a07 commit 03cf4b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-ml/num/num-1.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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)"
}

0 comments on commit 03cf4b9

Please sign in to comment.