commit: 5b3a9114a4b4fb216da3719f494f6310bbcba955
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 9 08:28:03 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sun Jul 9 08:28:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3a9114
dev-ml/cppo: Fix build with USE=-ocamlopt. Bug #624286
Package-Manager: Portage-2.3.6, Repoman-2.3.2
dev-ml/cppo/cppo-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ml/cppo/cppo-1.5.0.ebuild b/dev-ml/cppo/cppo-1.5.0.ebuild
index c9d5a1d7375..edc62efc16d 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() {