1 |
commit: 5b3a9114a4b4fb216da3719f494f6310bbcba955 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 9 08:28:03 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 9 08:28:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3a9114 |
7 |
|
8 |
dev-ml/cppo: Fix build with USE=-ocamlopt. Bug #624286 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/cppo/cppo-1.5.0.ebuild | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-ml/cppo/cppo-1.5.0.ebuild b/dev-ml/cppo/cppo-1.5.0.ebuild |
16 |
index c9d5a1d7375..edc62efc16d 100644 |
17 |
--- a/dev-ml/cppo/cppo-1.5.0.ebuild |
18 |
+++ b/dev-ml/cppo/cppo-1.5.0.ebuild |
19 |
@@ -22,7 +22,7 @@ DEPEND="${RDEPEND}" |
20 |
|
21 |
src_compile() { |
22 |
use ocamlopt || sed -e 's/ocamlbuild_cppo.cmx/ocamlbuild_cppo.cmo/' -i Makefile |
23 |
- emake BEST="$(usex ocamlopt '.native' '.byte')" |
24 |
+ emake BEST="$(usex ocamlopt '.native' '.byte')" $(usex ocamlopt opt all) ocamlbuild |
25 |
} |
26 |
|
27 |
src_install() { |