--- /dev/null
+Index: menhir-20151112/src/Makefile
+===================================================================
+--- menhir-20151112.orig/src/Makefile
++++ menhir-20151112/src/Makefile
+@@ -19,7 +19,7 @@ endif
+ # ----------------------------------------------------------------------------
+ # Ocamlbuild tool and settings.
+
+-OCAMLBUILD := ocamlbuild -classic-display -j 0 -cflags "-safe-string -bin-annot"
++OCAMLBUILD := ocamlbuild -no-hygiene -classic-display -j 0 -cflags "-safe-string -bin-annot"
+
+ # ----------------------------------------------------------------------------
+ # For everyday development.
EAPI=5
-inherit findlib
+inherit findlib eutils
DESCRIPTION="LR(1) parser generator for the OCaml language"
HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/"
DEPEND="${RDEPEND}
dev-ml/ocamlbuild"
+src_prepare() {
+ epatch "${FILESDIR}/ocamlbuild.patch"
+}
+
src_configure() {
if ! use ocamlopt ; then
export TARGET=byte