[95288] trunk/dports/devel/ocaml-type-conv

mww at macports.org mww at macports.org
Sun Jul 8 12:22:52 PDT 2012


Revision: 95288
          https://trac.macports.org/changeset/95288
Author:   mww at macports.org
Date:     2012-07-08 12:22:52 -0700 (Sun, 08 Jul 2012)
Log Message:
-----------
ocaml-type-conv: prepare patch for upcoming ocaml 4.0

Modified Paths:
--------------
    trunk/dports/devel/ocaml-type-conv/Portfile

Added Paths:
-----------
    trunk/dports/devel/ocaml-type-conv/files/
    trunk/dports/devel/ocaml-type-conv/files/patch-myocamlbuild.ml.diff

Modified: trunk/dports/devel/ocaml-type-conv/Portfile
===================================================================
--- trunk/dports/devel/ocaml-type-conv/Portfile	2012-07-08 19:18:37 UTC (rev 95287)
+++ trunk/dports/devel/ocaml-type-conv/Portfile	2012-07-08 19:22:52 UTC (rev 95288)
@@ -20,6 +20,9 @@
 
 depends_lib         port:ocaml port:ocaml-findlib
 
+# add this patch for ocaml 4.0:
+#patchfiles          patch-myocamlbuild.ml.diff
+
 distname            type_conv-${version}
 
 use_oasis yes

Added: trunk/dports/devel/ocaml-type-conv/files/patch-myocamlbuild.ml.diff
===================================================================
--- trunk/dports/devel/ocaml-type-conv/files/patch-myocamlbuild.ml.diff	                        (rev 0)
+++ trunk/dports/devel/ocaml-type-conv/files/patch-myocamlbuild.ml.diff	2012-07-08 19:22:52 UTC (rev 95288)
@@ -0,0 +1,11 @@
+--- type_conv-108.00.01/myocamlbuild.ml	2012-05-26 00:48:05.000000000 +0200
++++ myocamlbuild.ml	2012-07-08 21:20:21.000000000 +0200
+@@ -630,7 +630,7 @@
+       List.concat (List.map f flags)
+     in
+     flag ["compile"; "c"] (S cflags);
+-    flag ["compile"; "ocaml"] (S [A "-w"; A "@Aemr-28"; A "-strict-sequence" ])
++    flag ["compile"; "ocaml"] (S [A "-w"; A "-strict-sequence" ])
+ ;;
+ 
+ let dispatch = function
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120708/82e4e3f7/attachment-0001.html>


More information about the macports-changes mailing list