summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2018-01-22 11:14:43 +0000
committerjaapb <jaapb@pkgsrc.org>2018-01-22 11:14:43 +0000
commit8089ce8b7c93c0b7b552525ae00c3393b4a9fbd7 (patch)
tree8dc9296676d4e917d07135633a1c5dae2f951c93 /devel
parent393881cac246c3a926f827f058f1c95fb742c952 (diff)
downloadpkgsrc-8089ce8b7c93c0b7b552525ae00c3393b4a9fbd7.tar.gz
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.
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-findlib/Makefile4
-rw-r--r--devel/ocaml-findlib/buildlink3.mk4
-rw-r--r--devel/ocaml-findlib/distinfo4
-rw-r--r--devel/ocaml-findlib/patches/patch-configure26
4 files changed, 28 insertions, 10 deletions
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile
index 251d00789b0..8f302caad90 100644
--- a/devel/ocaml-findlib/Makefile
+++ b/devel/ocaml-findlib/Makefile
@@ -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/
diff --git a/devel/ocaml-findlib/buildlink3.mk b/devel/ocaml-findlib/buildlink3.mk
index ba2f1f454db..aacc5518dfb 100644
--- a/devel/ocaml-findlib/buildlink3.mk
+++ b/devel/ocaml-findlib/buildlink3.mk
@@ -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
diff --git a/devel/ocaml-findlib/distinfo b/devel/ocaml-findlib/distinfo
index 767c854a3b6..7c153108019 100644
--- a/devel/ocaml-findlib/distinfo
+++ b/devel/ocaml-findlib/distinfo
@@ -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
diff --git a/devel/ocaml-findlib/patches/patch-configure b/devel/ocaml-findlib/patches/patch-configure
index 60e3991c401..9e171110756 100644
--- a/devel/ocaml-findlib/patches/patch-configure
+++ b/devel/ocaml-findlib/patches/patch-configure
@@ -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 is present
# 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?
+