[95941] trunk/dports/devel/ocaml-bolt

mww at macports.org mww at macports.org
Thu Jul 26 14:32:35 PDT 2012


Revision: 95941
          https://trac.macports.org/changeset/95941
Author:   mww at macports.org
Date:     2012-07-26 14:32:35 -0700 (Thu, 26 Jul 2012)
Log Message:
-----------
ocaml-bolt: remove warn-as-error as warnings have changed for OCaml 4.0

Modified Paths:
--------------
    trunk/dports/devel/ocaml-bolt/Portfile

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

Modified: trunk/dports/devel/ocaml-bolt/Portfile
===================================================================
--- trunk/dports/devel/ocaml-bolt/Portfile	2012-07-26 21:04:59 UTC (rev 95940)
+++ trunk/dports/devel/ocaml-bolt/Portfile	2012-07-26 21:32:35 UTC (rev 95941)
@@ -21,7 +21,7 @@
 
 depends_lib         port:ocaml port:ocaml-findlib
 
-patchfiles          patch-Makefile.diff
+patchfiles          patch-Makefile.diff patch-myocamlbuild.ml.diff
 
 post-extract {
     system "chmod +x ${worksrcpath}/configure"

Added: trunk/dports/devel/ocaml-bolt/files/patch-myocamlbuild.ml.diff
===================================================================
--- trunk/dports/devel/ocaml-bolt/files/patch-myocamlbuild.ml.diff	                        (rev 0)
+++ trunk/dports/devel/ocaml-bolt/files/patch-myocamlbuild.ml.diff	2012-07-26 21:32:35 UTC (rev 95941)
@@ -0,0 +1,11 @@
+--- myocamlbuild.ml	2011-08-15 16:00:48.000000000 +0200
++++ myocamlbuild.ml	2012-07-26 23:30:11.000000000 +0200
+@@ -65,7 +65,7 @@
+     cp src dst in
+   dispatch begin function
+     | After_rules ->
+-        flag ["ocaml"; "compile"; "warnings"] (S[A"-w"; A"Ae"; A"-warn-error"; A"A"]);
++        flag ["ocaml"; "compile"; "warnings"] (S[A"-w"; A"Ae"]);
+         dep [version_tag] [version_ml];
+         rule ("generation of " ^ version_ml)
+           ~prod:version_ml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120726/02fa4341/attachment.html>


More information about the macports-changes mailing list