summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-07-09 10:28:03 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-07-09 10:28:03 +0200
commit5b3a9114a4b4fb216da3719f494f6310bbcba955 (patch)
treeafbc798c4e69a53b50437c53dde1a5d6f26ee608 /dev-ml/cppo
parentdev-ml/zarith: Skip tests when not building native code, they require it. Bug... (diff)
downloadgentoo-5b3a9114a4b4fb216da3719f494f6310bbcba955.tar.gz
gentoo-5b3a9114a4b4fb216da3719f494f6310bbcba955.tar.bz2
gentoo-5b3a9114a4b4fb216da3719f494f6310bbcba955.zip
dev-ml/cppo: Fix build with USE=-ocamlopt. Bug #624286
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml/cppo')
-rw-r--r--dev-ml/cppo/cppo-1.5.0.ebuild2
1 files changed, 1 insertions, 1 deletions
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() {