diff options
Diffstat (limited to 'dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild')
-rw-r--r-- | dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild index bb0e145683bb..788bd15dab27 100644 --- a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild +++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.5.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit findlib +inherit findlib eutils DESCRIPTION="Provides support for internationalization of OCaml program" HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-gettext" @@ -25,6 +25,10 @@ DEPEND="${RDEPEND} 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/" \ |