pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ocaml-batteries Package update to version 2.1, i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8704a55c8d8f
branches:  trunk
changeset: 626090:8704a55c8d8f
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Fri Nov 01 10:32:53 2013 +0000

description:
Package update to version 2.1, including a patch to compile with
ocaml 4.01 (upcoming). Changelog is only available through git,
unfortunately.

diffstat:

 devel/ocaml-batteries/Makefile                       |   9 ++++++---
 devel/ocaml-batteries/distinfo                       |  11 ++++++-----
 devel/ocaml-batteries/patches/patch-Makefile         |  10 ++++++----
 devel/ocaml-batteries/patches/patch-src_batUnix.mliv |  16 ++++++++++++++++
 4 files changed, 34 insertions(+), 12 deletions(-)

diffs (85 lines):

diff -r 6a412ec66a12 -r 8704a55c8d8f devel/ocaml-batteries/Makefile
--- a/devel/ocaml-batteries/Makefile    Fri Nov 01 09:49:20 2013 +0000
+++ b/devel/ocaml-batteries/Makefile    Fri Nov 01 10:32:53 2013 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2013/07/03 10:40:33 jaapb Exp $
+# $NetBSD: Makefile,v 1.2 2013/11/01 10:32:53 jaapb Exp $
 
 PKGNAME=       ocaml-${DISTNAME}
-DISTNAME=      batteries-2.0
+DISTNAME=      batteries-2.1
 CATEGORIES=    devel
-MASTER_SITES=  http://forge.ocamlcore.org/frs/download.php/1096/
+MASTER_SITES=  http://forge.ocamlcore.org/frs/download.php/1218/
 
 MAINTAINER=    jaapb%NetBSD.org@localhost
 HOMEPAGE=      http://batteries.forge.ocamlcore.org/
@@ -11,6 +11,9 @@
 LICENSE=       gnu-lgpl-v2.1
 
 USE_TOOLS+=    gmake
+INSTALLATION_DIRS=     lib/ocaml/site-lib
+
+MAKE_ENV=      DESTDIR="${DESTDIR}" PREFIX="${PREFIX}"
 
 PLIST_VARS=     opt
 .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
diff -r 6a412ec66a12 -r 8704a55c8d8f devel/ocaml-batteries/distinfo
--- a/devel/ocaml-batteries/distinfo    Fri Nov 01 09:49:20 2013 +0000
+++ b/devel/ocaml-batteries/distinfo    Fri Nov 01 10:32:53 2013 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2013/07/03 10:40:33 jaapb Exp $
+$NetBSD: distinfo,v 1.2 2013/11/01 10:32:53 jaapb Exp $
 
-SHA1 (batteries-2.0.tar.gz) = d173e1944490f357530a24cc1c218ceb4d87eff1
-RMD160 (batteries-2.0.tar.gz) = 71cf7e1f549931cf3d93401417ab7d5caff778ce
-Size (batteries-2.0.tar.gz) = 675780 bytes
-SHA1 (patch-Makefile) = 79ce183be6925ff8ffde91c78d2e4314dd1343df
+SHA1 (batteries-2.1.tar.gz) = 5da23f83fe28afdeda1b2f9e95131c98023986aa
+RMD160 (batteries-2.1.tar.gz) = ab9c403ecaa2e70ff122044526ec10b4f0195d2f
+Size (batteries-2.1.tar.gz) = 695812 bytes
+SHA1 (patch-Makefile) = 916f5bb2eeffca3830865e0a63dfdb9a48e1e40f
+SHA1 (patch-src_batUnix.mliv) = 2b51dee8b91503a136f592a8f78e4c1fbf688c3c
diff -r 6a412ec66a12 -r 8704a55c8d8f devel/ocaml-batteries/patches/patch-Makefile
--- a/devel/ocaml-batteries/patches/patch-Makefile      Fri Nov 01 09:49:20 2013 +0000
+++ b/devel/ocaml-batteries/patches/patch-Makefile      Fri Nov 01 10:32:53 2013 +0000
@@ -1,13 +1,15 @@
-$NetBSD: patch-Makefile,v 1.1 2013/07/03 10:40:33 jaapb Exp $
+$NetBSD: patch-Makefile,v 1.2 2013/11/01 10:32:53 jaapb Exp $
 
 Install into DESTDIR
---- Makefile.orig      2013-01-03 19:39:03.000000000 +0000
+--- Makefile.orig      2013-07-18 05:02:22.000000000 +0000
 +++ Makefile
-@@ -88,7 +88,8 @@ man: all batteries.odocl
+@@ -88,8 +88,9 @@ man: all batteries.odocl
+       -mkdir man
        ocamlfind ocamldoc -package threads.posix -sort -man -hide-warnings -d man -I _build/libs -I _build/src libs/uniclib.mli src/*.mli
  
- install: all uninstall_packages
+-install: all uninstall_packages
 -      ocamlfind install $(NAME) $(INSTALL_FILES) \
++install: all
 +      ocamlfind install $(NAME) -destdir "${DESTDIR}${PREFIX}/lib/ocaml/site-lib" \
 +        $(INSTALL_FILES) \
                -optional $(OPT_INSTALL_FILES)
diff -r 6a412ec66a12 -r 8704a55c8d8f devel/ocaml-batteries/patches/patch-src_batUnix.mliv
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-batteries/patches/patch-src_batUnix.mliv      Fri Nov 01 10:32:53 2013 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_batUnix.mliv,v 1.1 2013/11/01 10:32:53 jaapb Exp $
+
+Patch (from upstream git) to compile with ocaml 4.01
+--- src/batUnix.mliv.orig      2013-07-18 05:02:22.000000000 +0000
++++ src/batUnix.mliv
+@@ -261,6 +261,10 @@ type open_flag = Unix.open_flag =
+                                     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}. *)
+ 
+ 



Home | Main Index | Thread Index | Old Index