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:           Mon Jan 22 11:14:43 UTC 2018

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

Log Message:
Patch to devel/ocaml-findlib to not install num library

The num library was split off from ocaml. ocamlfind installs META files
for it if it is detected, but this is not the correct behaviour. This
patch disables detection, which is needed if package updates are to work.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/ocaml-findlib/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ocaml-findlib/buildlink3.mk
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/ocaml-findlib/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/ocaml-findlib/patches/patch-configure

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.35 pkgsrc/devel/ocaml-findlib/Makefile:1.36
--- pkgsrc/devel/ocaml-findlib/Makefile:1.35    Wed Jan 10 14:59:29 2018
+++ pkgsrc/devel/ocaml-findlib/Makefile Mon Jan 22 11:14:43 2018
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2018/01/10 14:59:29 jaapb Exp $
+# $NetBSD: Makefile,v 1.36 2018/01/22 11:14:43 jaapb Exp $
 
 DISTNAME=              findlib-1.7.3
 PKGNAME=               ocaml-${DISTNAME}
-PKGREVISION=           2
+PKGREVISION=           3
 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.9 pkgsrc/devel/ocaml-findlib/buildlink3.mk:1.10
--- pkgsrc/devel/ocaml-findlib/buildlink3.mk:1.9        Wed Jan 10 14:59:29 2018
+++ pkgsrc/devel/ocaml-findlib/buildlink3.mk    Mon Jan 22 11:14:43 2018
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2018/01/10 14:59:29 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2018/01/22 11:14:43 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.7.3nb2
+BUILDLINK_ABI_DEPENDS.ocaml-findlib+=  ocaml-findlib>=1.7.3nb3
 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.16 pkgsrc/devel/ocaml-findlib/distinfo:1.17
--- pkgsrc/devel/ocaml-findlib/distinfo:1.16    Tue Jul 11 09:57:11 2017
+++ pkgsrc/devel/ocaml-findlib/distinfo Mon Jan 22 11:14:43 2018
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.16 2017/07/11 09:57:11 jaapb Exp $
+$NetBSD: distinfo,v 1.17 2018/01/22 11:14:43 jaapb Exp $
 
 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-configure) = f69ecc30bfde887baa21706936184fca589b2713
 SHA1 (patch-src_findlib_Makefile) = cf58beba4a7fe9076171fc7892c24df7691a4af0

Index: pkgsrc/devel/ocaml-findlib/patches/patch-configure
diff -u pkgsrc/devel/ocaml-findlib/patches/patch-configure:1.3 pkgsrc/devel/ocaml-findlib/patches/patch-configure:1.4
--- pkgsrc/devel/ocaml-findlib/patches/patch-configure:1.3      Tue Jul 11 09:57:11 2017
+++ pkgsrc/devel/ocaml-findlib/patches/patch-configure  Mon Jan 22 11:14:43 2018
@@ -1,9 +1,9 @@
-$NetBSD: patch-configure,v 1.3 2017/07/11 09:57:11 jaapb Exp $
+$NetBSD: patch-configure,v 1.4 2018/01/22 11:14:43 jaapb Exp $
 
-Do not install dbm META file even if dbm is present
---- configure.orig     2017-05-21 14:26:16.000000000 +0000
+Do not install META files for libraries that were split off
+--- configure.orig     2017-06-05 14:32:28.000000000 +0000
 +++ configure
-@@ -514,13 +514,13 @@ fi
+@@ -514,25 +514,25 @@ fi
  
  # dbm?
  
@@ -23,3 +23,21 @@ Do not install dbm META file even if dbm
  
  # num?
  
+-if [ -f "${ocaml_core_stdlib}/num.cmi" ]; then
+-    echo "num: found"
+-    lnum="num num-top"
+-    numtop="num-top"
+-else
++#if [ -f "${ocaml_core_stdlib}/num.cmi" ]; then
++#   echo "num: found"
++#   lnum="num num-top"
++#   numtop="num-top"
++#else
+     echo "num: not present (normal since OCaml-4.06)"
+     lnum=""
+     numtop=""
+-fi
++#fi
+ 
+ # bytes?
+ 



Home | Main Index | Thread Index | Old Index