summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ppx_fields_conv/ppx_fields_conv-113.33.00.ebuild')
-rw-r--r--dev-ml/ppx_fields_conv/ppx_fields_conv-113.33.00.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ml/ppx_fields_conv/ppx_fields_conv-113.33.00.ebuild b/dev-ml/ppx_fields_conv/ppx_fields_conv-113.33.00.ebuild
index 67db485a0326..4dc7d72471be 100644
--- a/dev-ml/ppx_fields_conv/ppx_fields_conv-113.33.00.ebuild
+++ b/dev-ml/ppx_fields_conv/ppx_fields_conv-113.33.00.ebuild
@@ -24,6 +24,10 @@ DEPEND="
RDEPEND="${DEPEND}"
DEPEND="${DEPEND} dev-ml/opam"
+src_prepare() {
+ has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
+}
+
src_configure() {
emake setup.exe
OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure