summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/batteries/batteries-3.4.0.ebuild')
-rw-r--r--dev-ml/batteries/batteries-3.4.0.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ml/batteries/batteries-3.4.0.ebuild b/dev-ml/batteries/batteries-3.4.0.ebuild
index c2f48c5b9535..7ed00dd97cf9 100644
--- a/dev-ml/batteries/batteries-3.4.0.ebuild
+++ b/dev-ml/batteries/batteries-3.4.0.ebuild
@@ -22,6 +22,10 @@ BDEPEND="dev-ml/ocamlbuild"
S="${WORKDIR}"/batteries-included-${PV}
+src_compile() {
+ emake BATTERIES_NATIVE=$(usex ocamlopt yes no)
+}
+
src_install() {
findlib_src_install
}