--- /dev/null
+Index: ocaml-gettext-0.3.5/ocaml-gettext/Makefile
+===================================================================
+--- ocaml-gettext-0.3.5.orig/ocaml-gettext/Makefile
++++ ocaml-gettext-0.3.5/ocaml-gettext/Makefile
+@@ -64,7 +64,6 @@ uninstall: ocaml-xgettext-uninstall
+ ocaml-xgettext: $(BUILDBIN)
+ $(OCAMLC) \
+ -I +camlp4 dynlink.cma camlp4lib.cma \
+- unix.cma \
+ `$(OCAMLFIND) query -r -predicates byte gettext.extract -i-format` \
+ `$(OCAMLFIND) query -r -predicates byte gettext.extract -a-format` \
+ `$(OCAMLFIND) query -r -predicates byte gettext.extract -o-format` \
EAPI=5
-inherit findlib
+inherit findlib eutils
DESCRIPTION="Provides support for internationalization of OCaml program"
HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-gettext"
doc? ( app-text/docbook-xsl-stylesheets dev-libs/libxslt )
test? ( dev-ml/ounit )"
+src_prepare() {
+ has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
+}
+
src_configure() {
econf \
--with-docbook-stylesheet="${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/" \