[77747] trunk/dports/devel/caml-core

jmr at macports.org jmr at macports.org
Sun Apr 10 21:32:36 PDT 2011


Revision: 77747
          http://trac.macports.org/changeset/77747
Author:   jmr at macports.org
Date:     2011-04-10 21:32:35 -0700 (Sun, 10 Apr 2011)
Log Message:
-----------
caml-core: update to 0.7.0 (fixes #27451), fix license format

Modified Paths:
--------------
    trunk/dports/devel/caml-core/Portfile

Added Paths:
-----------
    trunk/dports/devel/caml-core/files/
    trunk/dports/devel/caml-core/files/lib_TZ.ml.diff

Modified: trunk/dports/devel/caml-core/Portfile
===================================================================
--- trunk/dports/devel/caml-core/Portfile	2011-04-11 04:29:59 UTC (rev 77746)
+++ trunk/dports/devel/caml-core/Portfile	2011-04-11 04:32:35 UTC (rev 77747)
@@ -3,25 +3,24 @@
 PortSystem          1.0
 
 name                caml-core
-version             0.6.0
+version             0.7.0
 categories          devel ml
 platforms           darwin
 maintainers         mww openmaintainer
 description         Jane Street's alternative to the standard OCaml library
-license             LGPLv2.1
+license             LGPL-2.1
 long_description    ${description}
 homepage            http://www.janestreet.com/ocaml/
 master_sites        ${homepage}
-checksums           md5     75f83ec1f905617b5b86c207d0278e32 \
-                    sha1    eb18d710414ed712599719bd90304e0b08daba8e \
-                    rmd160  7fe705aa2c92bbd2be51b82b271617fefa4ab526
+checksums           md5     fc6195e8727f1e08020bad06c3833bc3 \
+                    sha1    966a93901b8e168ecca4d010fa99b4c1d3b22bf8 \
+                    rmd160  52a5e2a101b0ef33eb6ef7aca827aa69bdefb02b
 
 distname            core-${version}
 
-extract.suffix      .tgz
+depends_lib         port:ocaml port:caml-findlib port:caml-sexplib \
+                    port:caml-res port:caml-bin-prot port:caml-fieldslib
 
-depends_lib         port:ocaml port:caml-findlib port:caml-sexplib port:caml-res port:caml-bin-prot port:caml-fieldslib
-
 use_configure       no
 
 build.env           PREFIX=${prefix}
@@ -29,8 +28,12 @@
 
 set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
 
-destroot.env        OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir"
+destroot.env        OCAMLFIND_DESTDIR="$ocamlfind_destdir"
 
 pre-destroot {
     xinstall -m 755 -d $ocamlfind_destdir/stublibs
 }
+
+platform darwin {
+    patchfiles-append lib_TZ.ml.diff
+}

Added: trunk/dports/devel/caml-core/files/lib_TZ.ml.diff
===================================================================
--- trunk/dports/devel/caml-core/files/lib_TZ.ml.diff	                        (rev 0)
+++ trunk/dports/devel/caml-core/files/lib_TZ.ml.diff	2011-04-11 04:32:35 UTC (rev 77747)
@@ -0,0 +1,11 @@
+--- lib/TZ.ml.orig	2011-03-23 03:01:14.000000000 +1100
++++ lib/TZ.ml	2011-04-11 14:08:19.000000000 +1000
+@@ -387,7 +387,7 @@
+   let default () =
+     {
+       full = false;
+-      basedir = "/usr/share/zoneinfo/posix";
++      basedir = "/usr/share/zoneinfo";
+       table = String.Table.create ~size:11 ();
+     }
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110410/a16c632e/attachment.html>


More information about the macports-changes mailing list