From: Alexis Ballier Date: Sun, 9 Jul 2017 08:28:03 +0000 (+0200) Subject: dev-ml/cppo: Fix build with USE=-ocamlopt. Bug #624286 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5b3a9114a4b4fb216da3719f494f6310bbcba955;p=gentoo.git dev-ml/cppo: Fix build with USE=-ocamlopt. Bug #624286 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/dev-ml/cppo/cppo-1.5.0.ebuild b/dev-ml/cppo/cppo-1.5.0.ebuild index c9d5a1d7375c..edc62efc16d9 100644 --- a/dev-ml/cppo/cppo-1.5.0.ebuild +++ b/dev-ml/cppo/cppo-1.5.0.ebuild @@ -22,7 +22,7 @@ DEPEND="${RDEPEND}" src_compile() { use ocamlopt || sed -e 's/ocamlbuild_cppo.cmx/ocamlbuild_cppo.cmo/' -i Makefile - emake BEST="$(usex ocamlopt '.native' '.byte')" + emake BEST="$(usex ocamlopt '.native' '.byte')" $(usex ocamlopt opt all) ocamlbuild } src_install() {