Skip to content

Commit

Permalink
dev-ml/cppo: Fix build with USE=-ocamlopt. Bug #624286
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
aballier committed Jul 9, 2017
1 parent 2cb38bc commit 5b3a911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-ml/cppo/cppo-1.5.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 5b3a911

Please sign in to comment.