[115326] trunk/dports/devel/ocaml-batteries
mww at macports.org
mww at macports.org
Tue Dec 31 01:00:49 PST 2013
Revision: 115326
https://trac.macports.org/changeset/115326
Author: mww at macports.org
Date: 2013-12-31 01:00:49 -0800 (Tue, 31 Dec 2013)
Log Message:
-----------
ocaml-batteries: version 2.1
Modified Paths:
--------------
trunk/dports/devel/ocaml-batteries/Portfile
Added Paths:
-----------
trunk/dports/devel/ocaml-batteries/files/
trunk/dports/devel/ocaml-batteries/files/cloexec.patch
Modified: trunk/dports/devel/ocaml-batteries/Portfile
===================================================================
--- trunk/dports/devel/ocaml-batteries/Portfile 2013-12-31 08:58:23 UTC (rev 115325)
+++ trunk/dports/devel/ocaml-batteries/Portfile 2013-12-31 09:00:49 UTC (rev 115326)
@@ -1,11 +1,11 @@
# $Id$
PortSystem 1.0
+PortGroup ocaml 1.0
name ocaml-batteries
conflicts ocaml-batteries-devel
-version 1.5.0
-revision 3
+version 2.1
categories devel ml
maintainers erickt openmaintainer
license LGPL-2.1
@@ -15,38 +15,28 @@
documented, and comprehensive development platform for the \
OCaml programming language.
homepage http://batteries.forge.ocamlcore.org/
-master_sites https://forge.ocamlcore.org/frs/download.php/950/
+master_sites https://forge.ocamlcore.org/frs/download.php/1218/
platforms darwin
distname batteries-${version}
-checksums sha1 658a8401676d04f785ab2e98ea1586d5b49d5481 \
- rmd160 30e6d5199f1f18874ba74bf835f88ed0de7ecdc0
+checksums rmd160 ab9c403ecaa2e70ff122044526ec10b4f0195d2f \
+ sha256 ad7b85ebc4404192ef101fa143147dd12713017de7941d71c64f7c7d354e91bf
depends_lib port:ocaml \
port:ocaml-findlib \
- port:ocaml-type-conv \
- port:ocaml-sexplib \
- port:ocaml-bin-prot \
- port:ocaml-camomile \
- port:ocaml-zip \
- port:ocaml-ocamlnet \
port:ocaml-ounit
-use_configure no
-use_parallel_build no
+patchfiles cloexec.patch
-set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+use_oasis yes
-build.target all doc qtest
+configure.args-append "--destdir ${destroot}"
-destroot.target install install-doc
-destroot.destdir DESTDIR=${ocamlfind_destdir} DOCROOT=${destroot}${prefix}/share/doc/${name}
+# setup does ignore ocamlfind wrapper AND --destdir :/
+destroot.env-append PATH=${workpath}:$env(PATH)
-pre-destroot {
- file mkdir $ocamlfind_destdir
-}
-
livecheck.type regex
livecheck.regex "batteries-(.*?).tar.gz"
+livecheck.url https://forge.ocamlcore.org/frs/?group_id=17
Added: trunk/dports/devel/ocaml-batteries/files/cloexec.patch
===================================================================
--- trunk/dports/devel/ocaml-batteries/files/cloexec.patch (rev 0)
+++ trunk/dports/devel/ocaml-batteries/files/cloexec.patch 2013-12-31 09:00:49 UTC (rev 115326)
@@ -0,0 +1,13 @@
+--- src/batUnix.mliv 2013-07-18 07:02:22.000000000 +0200
++++ src/batUnix.mliv 2013-08-28 15:47:03.632089339 +0200
+@@ -261,6 +261,10 @@
+ O_SYNC/O_DSYNC) *)
+ ##V4## | O_SHARE_DELETE (** OCaml 4 and Windows only: allow the file to be deleted
+ ##V4## while still open *)
++##V4.1## | O_CLOEXEC (** Set the close-on-exec flag on the
++##V4.1## descriptor returned by {!openfile}
++##V4.1##
++##V4.1## Since OCaml 4.1 *)
+ (** The flags to {!Unix.openfile}. *)
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131231/55027da8/attachment.html>
More information about the macports-changes
mailing list