pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-findlib



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Tue Jul 11 09:57:11 UTC 2017

Modified Files:
        pkgsrc/devel/ocaml-findlib: Makefile buildlink3.mk distinfo
        pkgsrc/devel/ocaml-findlib/files: ocamlfind.sh
        pkgsrc/devel/ocaml-findlib/patches: patch-Makefile patch-configure
            patch-src_findlib_Makefile

Log Message:
Updated package to latest version, 1.7.3. Apart from a pkgsrc patch that
allows for installation of .cmxs files, changes include:

1.7.3:
Fix regarding num-top: this library is now also optional, as num.

1.7.2:
Trying to protect against failures when several package installs are done in
parallel.

New subpackage "findlib.top" for the toploop (Jeremie Dimino).

The "num" library is now optional.

Shell scripts are started via "sh" command when there is no /bin/sh (ygrek)


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/ocaml-findlib/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ocaml-findlib/buildlink3.mk
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/ocaml-findlib/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/ocaml-findlib/files/ocamlfind.sh
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/ocaml-findlib/patches/patch-Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ocaml-findlib/patches/patch-configure
cvs rdiff -u -r1.7 -r1.8 \
    pkgsrc/devel/ocaml-findlib/patches/patch-src_findlib_Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ocaml-findlib/Makefile
diff -u pkgsrc/devel/ocaml-findlib/Makefile:1.32 pkgsrc/devel/ocaml-findlib/Makefile:1.33
--- pkgsrc/devel/ocaml-findlib/Makefile:1.32    Mon Apr 24 21:47:47 2017
+++ pkgsrc/devel/ocaml-findlib/Makefile Tue Jul 11 09:57:11 2017
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2017/04/24 21:47:47 maya Exp $
+# $NetBSD: Makefile,v 1.33 2017/07/11 09:57:11 jaapb Exp $
 
-DISTNAME=              findlib-1.7.1
+DISTNAME=              findlib-1.7.3
 PKGNAME=               ocaml-${DISTNAME}
-PKGREVISION=           1
 CATEGORIES=            devel
 MASTER_SITES=          http://download.camlcity.org/download/
 

Index: pkgsrc/devel/ocaml-findlib/buildlink3.mk
diff -u pkgsrc/devel/ocaml-findlib/buildlink3.mk:1.6 pkgsrc/devel/ocaml-findlib/buildlink3.mk:1.7
--- pkgsrc/devel/ocaml-findlib/buildlink3.mk:1.6        Tue Feb  2 11:41:45 2016
+++ pkgsrc/devel/ocaml-findlib/buildlink3.mk    Tue Jul 11 09:57:11 2017
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2016/02/02 11:41:45 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2017/07/11 09:57:11 jaapb Exp $
 
 BUILDLINK_TREE+=       ocaml-findlib
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        ocaml-findlib
 OCAML_FINDLIB_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.ocaml-findlib+=ocaml-findlib>=1.2
-BUILDLINK_ABI_DEPENDS.ocaml-findlib+=ocaml-findlib>=1.6
+BUILDLINK_ABI_DEPENDS.ocaml-findlib+=ocaml-findlib>=1.7.3
 BUILDLINK_PKGSRCDIR.ocaml-findlib?=    ../../devel/ocaml-findlib
 
 BUILDLINK_TARGETS+=    ocaml-findlib-wrappers ocaml-findlib-ldconf

Index: pkgsrc/devel/ocaml-findlib/distinfo
diff -u pkgsrc/devel/ocaml-findlib/distinfo:1.15 pkgsrc/devel/ocaml-findlib/distinfo:1.16
--- pkgsrc/devel/ocaml-findlib/distinfo:1.15    Wed Nov 30 13:46:14 2016
+++ pkgsrc/devel/ocaml-findlib/distinfo Tue Jul 11 09:57:11 2017
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.15 2016/11/30 13:46:14 wiz Exp $
+$NetBSD: distinfo,v 1.16 2017/07/11 09:57:11 jaapb Exp $
 
-SHA1 (findlib-1.7.1.tar.gz) = 5cde7077341a3ff9de7a625383f369b1e1d61fd3
-RMD160 (findlib-1.7.1.tar.gz) = 2d4dca216c58214e102ab35f604607d91a6f6c89
-SHA512 (findlib-1.7.1.tar.gz) = 1c8002dc2ed1804afc78c2aa92ab55d2b6501fbb021a7ca46698b4de0dea8ad6485a64f7bf9ec5f3df888da1a420ab270efb5e26f1e408cc8b78fa3ccb981ba4
-Size (findlib-1.7.1.tar.gz) = 256883 bytes
-SHA1 (patch-Makefile) = 7d427be437e4ec2fb50feba8dee7d2759506267b
-SHA1 (patch-configure) = 023cc1610ab082cf3cdb82efda00df0f4b25d881
-SHA1 (patch-src_findlib_Makefile) = f523a19a205257b320ebaab956b546659aa46ed4
+SHA1 (findlib-1.7.3.tar.gz) = 8a79a305ae76be1d2939ad7ffd3e59ddd93559ef
+RMD160 (findlib-1.7.3.tar.gz) = 2b6d492fa4416b597f639c7a8a40e6f1af094d6f
+SHA512 (findlib-1.7.3.tar.gz) = 5fc8250c123e2f019406be487134523f964668d615b51b216551d74f6ec1999de43aa7babc9c2c75ebb87293b4b8c640548d562a98a6e5a6d7f663432869c886
+Size (findlib-1.7.3.tar.gz) = 257703 bytes
+SHA1 (patch-Makefile) = 72afa3c32f78183f745a63d2817fcf05154d27d3
+SHA1 (patch-configure) = 457b435a85b2575a3994cc99a5e913b02e458955
+SHA1 (patch-src_findlib_Makefile) = cf58beba4a7fe9076171fc7892c24df7691a4af0

Index: pkgsrc/devel/ocaml-findlib/files/ocamlfind.sh
diff -u pkgsrc/devel/ocaml-findlib/files/ocamlfind.sh:1.5 pkgsrc/devel/ocaml-findlib/files/ocamlfind.sh:1.6
--- pkgsrc/devel/ocaml-findlib/files/ocamlfind.sh:1.5   Fri Oct 31 01:00:30 2014
+++ pkgsrc/devel/ocaml-findlib/files/ocamlfind.sh       Tue Jul 11 09:57:11 2017
@@ -1,6 +1,6 @@
 #!@SH@
 
-# $NetBSD: ocamlfind.sh,v 1.5 2014/10/31 01:00:30 hiramatsu Exp $
+# $NetBSD: ocamlfind.sh,v 1.6 2017/07/11 09:57:11 jaapb Exp $
 
 if [ "$1" = install ]; then
        need_destdir=yes
@@ -21,5 +21,15 @@ if [ "$1" = install ]; then
        if [ "$need_ldconf" = "yes" ]; then
                set -- "$@" -ldconf "@BUILDLINK_DIR@/lib/ocaml/ld.conf"
        fi
+       exec "@OCAML_FINDLIB_PREFIX@/bin/`basename $0`" "$@"
+elif [ "$1" = printconf ]; then
+       if [ "$2" = destdir ]; then
+               ocamlfind="@OCAML_FINDLIB_PREFIX@/bin/`basename $0`"
+               dir=`"$ocamlfind" printconf destdir`
+               echo "@DESTDIR@$dir"
+       else
+               exec "@OCAML_FINDLIB_PREFIX@/bin/`basename $0`" "$@"
+       fi
+else
+       exec "@OCAML_FINDLIB_PREFIX@/bin/`basename $0`" "$@"
 fi
-exec "@OCAML_FINDLIB_PREFIX@/bin/`basename $0`" "$@"

Index: pkgsrc/devel/ocaml-findlib/patches/patch-Makefile
diff -u pkgsrc/devel/ocaml-findlib/patches/patch-Makefile:1.5 pkgsrc/devel/ocaml-findlib/patches/patch-Makefile:1.6
--- pkgsrc/devel/ocaml-findlib/patches/patch-Makefile:1.5       Wed Nov 30 13:46:14 2016
+++ pkgsrc/devel/ocaml-findlib/patches/patch-Makefile   Tue Jul 11 09:57:11 2017
@@ -1,7 +1,7 @@
-$NetBSD: patch-Makefile,v 1.5 2016/11/30 13:46:14 wiz Exp $
+$NetBSD: patch-Makefile,v 1.6 2017/07/11 09:57:11 jaapb Exp $
 
 make package support DESTDIR; use BSD_INSTALL_* instead of mkdir and cp
---- Makefile.orig      2016-11-18 13:04:45.000000000 +0000
+--- Makefile.orig      2017-06-05 14:32:28.000000000 +0000
 +++ Makefile
 @@ -17,14 +17,14 @@ opt:
        for p in $(PARTS); do ( cd src/$$p; $(MAKE) opt ) || exit; done
@@ -14,7 +14,7 @@ make package support DESTDIR; use BSD_IN
        $(MAKE) install-config
        for p in $(PARTS); do ( cd src/$$p; $(MAKE) install ); done
        $(MAKE) install-meta
-       cd src/findlib; $(MAKE) install-num-top
+       test -z "$(NUMTOP)" || { cd src/findlib; $(MAKE) install-num-top; }
        if [ $(INSTALL_CAMLP4) -eq 1 ]; then \
 -              cp tools/safe_camlp4 "$(prefix)$(OCAMLFIND_BIN)"; \
 +              $(BSD_INSTALL_SCRIPT) tools/safe_camlp4 "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)"; \

Index: pkgsrc/devel/ocaml-findlib/patches/patch-configure
diff -u pkgsrc/devel/ocaml-findlib/patches/patch-configure:1.2 pkgsrc/devel/ocaml-findlib/patches/patch-configure:1.3
--- pkgsrc/devel/ocaml-findlib/patches/patch-configure:1.2      Thu Oct  9 20:53:15 2014
+++ pkgsrc/devel/ocaml-findlib/patches/patch-configure  Tue Jul 11 09:57:11 2017
@@ -1,9 +1,9 @@
-$NetBSD: patch-configure,v 1.2 2014/10/09 20:53:15 jaapb Exp $
+$NetBSD: patch-configure,v 1.3 2017/07/11 09:57:11 jaapb Exp $
 
 Do not install dbm META file even if dbm is present
---- configure.orig     2014-09-16 11:21:45.000000000 +0000
+--- configure.orig     2017-05-21 14:26:16.000000000 +0000
 +++ configure
-@@ -479,13 +479,13 @@ fi
+@@ -514,13 +514,13 @@ fi
  
  # dbm?
  
@@ -21,5 +21,5 @@ Do not install dbm META file even if dbm
 -fi
 +#fi
  
- # bytes?
+ # num?
  

Index: pkgsrc/devel/ocaml-findlib/patches/patch-src_findlib_Makefile
diff -u pkgsrc/devel/ocaml-findlib/patches/patch-src_findlib_Makefile:1.7 pkgsrc/devel/ocaml-findlib/patches/patch-src_findlib_Makefile:1.8
--- pkgsrc/devel/ocaml-findlib/patches/patch-src_findlib_Makefile:1.7   Wed Nov 30 13:46:14 2016
+++ pkgsrc/devel/ocaml-findlib/patches/patch-src_findlib_Makefile       Tue Jul 11 09:57:11 2017
@@ -1,7 +1,7 @@
-$NetBSD: patch-src_findlib_Makefile,v 1.7 2016/11/30 13:46:14 wiz Exp $
+$NetBSD: patch-src_findlib_Makefile,v 1.8 2017/07/11 09:57:11 jaapb Exp $
 
 Install into DESTDIR, use BSD install commands
---- src/findlib/Makefile.orig  2016-11-18 13:04:46.000000000 +0000
+--- src/findlib/Makefile.orig  2017-05-21 14:26:17.000000000 +0000
 +++ src/findlib/Makefile
 @@ -119,23 +119,23 @@ clean:
          ocamlfind$(EXEC_SUFFIX) ocamlfind_opt$(EXEC_SUFFIX)
@@ -13,7 +13,7 @@ Install into DESTDIR, use BSD install co
 +      $(BSD_INSTALL_DATA_DIR) "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$(NAME)"
 +      $(BSD_INSTALL_PROGRAM_DIR) "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)"
 +      test $(INSTALL_TOPFIND) -eq 0 || $(BSD_INSTALL_SCRIPT) topfind "$(DESTDIR)$(prefix)$(OCAML_CORE_STDLIB)"
-       files=`$(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli 
fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a 
findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \
+       files=`$(SH) $(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli 
fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a 
findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \
 -      cp $$files "$(prefix)$(OCAML_SITELIB)/$(NAME)"
 +      $(BSD_INSTALL_DATA) $$files "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$(NAME)"
        f="ocamlfind$(EXEC_SUFFIX)"; { test -f ocamlfind_opt$(EXEC_SUFFIX) && f="ocamlfind_opt$(EXEC_SUFFIX)"; }; \



Home | Main Index | Thread Index | Old Index