1 |
commit: 5e0496e8059f4acf03ef84f01a8d61532699ca4b |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 1 06:54:40 2022 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 1 06:54:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e0496e8 |
7 |
|
8 |
dev-ml/batteries: select byte or native from ocamlopt |
9 |
|
10 |
Closes: https://bugs.gentoo.org/843116 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
13 |
|
14 |
dev-ml/batteries/batteries-3.4.0.ebuild | 4 ++++ |
15 |
1 file changed, 4 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/batteries/batteries-3.4.0.ebuild b/dev-ml/batteries/batteries-3.4.0.ebuild |
18 |
index c2f48c5b9535..7ed00dd97cf9 100644 |
19 |
--- a/dev-ml/batteries/batteries-3.4.0.ebuild |
20 |
+++ b/dev-ml/batteries/batteries-3.4.0.ebuild |
21 |
@@ -22,6 +22,10 @@ BDEPEND="dev-ml/ocamlbuild" |
22 |
|
23 |
S="${WORKDIR}"/batteries-included-${PV} |
24 |
|
25 |
+src_compile() { |
26 |
+ emake BATTERIES_NATIVE=$(usex ocamlopt yes no) |
27 |
+} |
28 |
+ |
29 |
src_install() { |
30 |
findlib_src_install |
31 |
} |