From 5f7953f5a8ae55454c9f5675d8e4776206e80211 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Mon, 8 Feb 2016 14:26:04 +0100 Subject: dev-ml/ocaml-uri: port to pa_sexp_conv and avoid requiring old sexplib Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier --- dev-ml/ocaml-uri/files/sexpl.patch | 42 ++++++++++++++++++++++++++++++ dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild | 3 ++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 dev-ml/ocaml-uri/files/sexpl.patch (limited to 'dev-ml') diff --git a/dev-ml/ocaml-uri/files/sexpl.patch b/dev-ml/ocaml-uri/files/sexpl.patch new file mode 100644 index 000000000000..85008d11537d --- /dev/null +++ b/dev-ml/ocaml-uri/files/sexpl.patch @@ -0,0 +1,42 @@ +Index: ocaml-uri-1.9.1/_tags +=================================================================== +--- ocaml-uri-1.9.1.orig/_tags ++++ ocaml-uri-1.9.1/_tags +@@ -22,7 +22,7 @@ true: annot, bin_annot + "lib/services_full.cmxs": use_services_full + : package(re.posix) + : package(sexplib) +-: package(sexplib.syntax) ++: package(pa_sexp_conv.syntax) + : package(stringext) + : use_uri + # Library uri_top +@@ -32,13 +32,13 @@ true: annot, bin_annot + : package(oUnit) + : package(re.posix) + : package(sexplib) +-: package(sexplib.syntax) ++: package(pa_sexp_conv) + : package(stringext) + : use_uri + : package(oUnit) + : package(re.posix) + : package(sexplib) +-: package(sexplib.syntax) ++: package(pa_sexp_conv) + : package(stringext) + : use_uri + : custom +Index: ocaml-uri-1.9.1/setup.ml +=================================================================== +--- ocaml-uri-1.9.1.orig/setup.ml ++++ ocaml-uri-1.9.1/setup.ml +@@ -6964,7 +6964,7 @@ let setup_t = + [ + FindlibPackage ("re.posix", None); + FindlibPackage ("stringext", None); +- FindlibPackage ("sexplib.syntax", None); ++ FindlibPackage ("pa_sexp_conv.syntax", None); + FindlibPackage ("sexplib", None) + ]; + bs_build_tools = [ExternalTool "ocamlbuild"]; diff --git a/dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild b/dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild index 52341e8abff8..62fa77aebb81 100644 --- a/dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild +++ b/dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild @@ -20,7 +20,7 @@ IUSE="allservices" RDEPEND=" dev-ml/ocaml-re:= >=dev-ml/sexplib-109.53.00:= - =dev-ml/ounit-1.0.2 ) ${RDEPEND} " +PATCHES=( "${FILESDIR}/sexpl.patch" ) src_configure() { oasis_configure_opts=" -- cgit v1.2.3-65-gdbad