Skip to content

Commit

Permalink
dev-ml/num: fix handling of ocamlopt
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/821988
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Nov 7, 2021
1 parent 8a6cbad commit bab04cd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit bab04cd

Please sign in to comment.