From 621b66c3df4bfa1debec3002740480fb1a590c0e Mon Sep 17 00:00:00 2001
From: Vincent Laporte <Vincent.Laporte@gmail.com>
Date: Wed, 14 Oct 2015 19:25:58 +0200
Subject: [PATCH] js_of_ocaml: fix for OCaml < 4.0

---
 .../tools/ocaml/js_of_ocaml/Makefile.conf.diff        | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/Makefile.conf.diff b/pkgs/development/tools/ocaml/js_of_ocaml/Makefile.conf.diff
index e6fc96038ff8..0e3f55df6d20 100644
--- a/pkgs/development/tools/ocaml/js_of_ocaml/Makefile.conf.diff
+++ b/pkgs/development/tools/ocaml/js_of_ocaml/Makefile.conf.diff
@@ -8,3 +8,14 @@
  
  ####
  
+--- old/Makefile	2014-09-30 16:40:37.000000000 +0200
++++ new/Makefile	2015-10-14 10:28:41.366815864 +0200
+@@ -52,7 +52,7 @@
+ install-bin:
+ 	install -d -m 755 $(BINDIR)
+ 	install $(BIN) $(BINDIR)
+-	install $(TOOLS) $(BINDIR)
++	install $(TOOLS) $(BINDIR) || true
+ 
+ uninstall: uninstall-lib uninstall-bin
+