summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/menhir/menhir-20151112.ebuild')
-rw-r--r--dev-ml/menhir/menhir-20151112.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ml/menhir/menhir-20151112.ebuild b/dev-ml/menhir/menhir-20151112.ebuild
index 61fb1e2d35a7..1b7e19d30348 100644
--- a/dev-ml/menhir/menhir-20151112.ebuild
+++ b/dev-ml/menhir/menhir-20151112.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit findlib
+inherit findlib eutils
DESCRIPTION="LR(1) parser generator for the OCaml language"
HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/"
@@ -19,6 +19,10 @@ RDEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]"
DEPEND="${RDEPEND}
dev-ml/ocamlbuild"
+src_prepare() {
+ epatch "${FILESDIR}/ocamlbuild.patch"
+}
+
src_configure() {
if ! use ocamlopt ; then
export TARGET=byte