[98501] trunk/dports/lang/camlp5

mww at macports.org mww at macports.org
Sun Oct 7 06:49:55 PDT 2012


Revision: 98501
          http://trac.macports.org//changeset/98501
Author:   mww at macports.org
Date:     2012-10-07 06:49:54 -0700 (Sun, 07 Oct 2012)
Log Message:
-----------
camlp5: fix compatibility with ocaml 4.00.1

Modified Paths:
--------------
    trunk/dports/lang/camlp5/Portfile

Added Paths:
-----------
    trunk/dports/lang/camlp5/files/
    trunk/dports/lang/camlp5/files/patch-ocaml_stuff-4.00.1-utils-pconfig.ml.diff

Modified: trunk/dports/lang/camlp5/Portfile
===================================================================
--- trunk/dports/lang/camlp5/Portfile	2012-10-07 11:55:35 UTC (rev 98500)
+++ trunk/dports/lang/camlp5/Portfile	2012-10-07 13:49:54 UTC (rev 98501)
@@ -4,7 +4,7 @@
 
 name                camlp5
 version             6.06
-revision            2
+revision            3
 categories          lang ml
 license             BSD
 platforms           darwin
@@ -30,6 +30,11 @@
 
 depends_build       port:ocaml
 extract.suffix      .tgz
+post-extract {
+    file rename ${worksrcpath}/ocaml_stuff/4.01.0 ${worksrcpath}/ocaml_stuff/4.00.1
+    file rename ${worksrcpath}/ocaml_src/lib/versdep/4.01.0.ml ${worksrcpath}/ocaml_src/lib/versdep/4.00.1.ml
+}
+patchfiles          patch-ocaml_stuff-4.00.1-utils-pconfig.ml.diff
 configure.pre_args  --prefix "${prefix}" \
                     --mandir "${prefix}/share/man"
 build.target        world.opt

Added: trunk/dports/lang/camlp5/files/patch-ocaml_stuff-4.00.1-utils-pconfig.ml.diff
===================================================================
--- trunk/dports/lang/camlp5/files/patch-ocaml_stuff-4.00.1-utils-pconfig.ml.diff	                        (rev 0)
+++ trunk/dports/lang/camlp5/files/patch-ocaml_stuff-4.00.1-utils-pconfig.ml.diff	2012-10-07 13:49:54 UTC (rev 98501)
@@ -0,0 +1,8 @@
+--- ocaml_stuff/4.00.1/utils/pconfig.ml	2012-06-01 16:56:53.000000000 +0200
++++ pconfig.ml	2012-10-07 15:43:08.000000000 +0200
+@@ -1,4 +1,4 @@
+-let ocaml_version = "4.01.0"
++let ocaml_version = "4.00.1"
+ let ocaml_name = "ocaml"
+ let ast_impl_magic_number = "Caml1999M015"
+ let ast_intf_magic_number = "Caml1999N014"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121007/28f7f4ad/attachment.html>


More information about the macports-changes mailing list