From 92485f5d356fd8395a25cb77a09db9c328c2b018 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Wed, 6 Jul 2011 16:32:39 +0000 Subject: build with ocaml-3.12.1 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64) --- dev-ml/ocamlduce/ChangeLog | 8 ++- dev-ml/ocamlduce/files/ocaml-3.12.1.patch | 13 +++++ dev-ml/ocamlduce/ocamlduce-3.12.0.0-r20.ebuild | 71 ++++++++++++++++++++++++++ 3 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 dev-ml/ocamlduce/files/ocaml-3.12.1.patch create mode 100644 dev-ml/ocamlduce/ocamlduce-3.12.0.0-r20.ebuild (limited to 'dev-ml') diff --git a/dev-ml/ocamlduce/ChangeLog b/dev-ml/ocamlduce/ChangeLog index 08b170cabdac..b5893c6e5fc8 100644 --- a/dev-ml/ocamlduce/ChangeLog +++ b/dev-ml/ocamlduce/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ml/ocamlduce # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlduce/ChangeLog,v 1.18 2011/06/26 20:00:52 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlduce/ChangeLog,v 1.19 2011/07/06 16:32:39 aballier Exp $ + +*ocamlduce-3.12.0.0-r20 (06 Jul 2011) + + 06 Jul 2011; Alexis Ballier + +ocamlduce-3.12.0.0-r20.ebuild, +files/ocaml-3.12.1.patch: + build with ocaml-3.12.1 *ocamlduce-3.12.0.0-r10 (26 Jun 2011) diff --git a/dev-ml/ocamlduce/files/ocaml-3.12.1.patch b/dev-ml/ocamlduce/files/ocaml-3.12.1.patch new file mode 100644 index 000000000000..15bfec61a7b6 --- /dev/null +++ b/dev-ml/ocamlduce/files/ocaml-3.12.1.patch @@ -0,0 +1,13 @@ +Index: work/ocamlduce-3.12.0.0/patches/typing.diff +=================================================================== +--- work.orig/ocamlduce-3.12.0.0/patches/typing.diff ++++ work/ocamlduce-3.12.0.0/patches/typing.diff +@@ -1987,7 +1987,7 @@ index ce84576..7b98d21 100644 + @@ -106,6 +106,7 @@ and structure_item ppf tbl s = + | Pstr_class cdl -> List.iter (class_declaration ppf tbl) cdl; + | Pstr_class_type _ -> () +- | Pstr_include _ -> () ++ | Pstr_include me -> module_expr ppf tbl me; + + | Pstr_namespace _ -> () + + and expression ppf tbl e = diff --git a/dev-ml/ocamlduce/ocamlduce-3.12.0.0-r20.ebuild b/dev-ml/ocamlduce/ocamlduce-3.12.0.0-r20.ebuild new file mode 100644 index 000000000000..a6a96d60289e --- /dev/null +++ b/dev-ml/ocamlduce/ocamlduce-3.12.0.0-r20.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlduce/ocamlduce-3.12.0.0-r20.ebuild,v 1.1 2011/07/06 16:32:39 aballier Exp $ + +EAPI="2" + +inherit versionator eutils toolchain-funcs flag-o-matic multilib + +OCAML_VERSION=3.12.1 +OCAML_TARBALL=ocaml-${OCAML_VERSION}.tar.bz2 +OCAML_PATCHLEVEL=3 +OCAML_GENTOO_PATCHES=ocaml-patches-${OCAML_PATCHLEVEL}.tar.bz2 + +DESCRIPTION="OCamlDuce is a merger between OCaml and CDuce" +HOMEPAGE="http://ocamlduce.forge.ocamlcore.org/" +SRC_URI="https://forge.ocamlcore.org/frs/download.php/441/${P}.tar.gz + ftp://ftp.inria.fr/INRIA/cristal/ocaml/ocaml-$(get_version_component_range 1-2 ${OCAML_VERSION})/${OCAML_TARBALL} + mirror://gentoo/${OCAML_GENTOO_PATCHES}" + +LICENSE="QPL-1.0 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="+ocamlopt" + +DEPEND="~dev-lang/ocaml-${OCAML_VERSION/+/_}[ocamlopt?] + >=dev-ml/findlib-1.2.4-r1 + !!