diff options
author | Benda Xu <heroxbd@gentoo.org> | 2015-05-12 15:51:35 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2015-05-12 15:51:35 +0900 |
commit | bbbdc687fcc0726f9c6d0c51c820d1a7c3aab54d (patch) | |
tree | 1854c515d62920876d2e7a940b4a604c254548e3 /dev-lang | |
parent | dev-lang/perl: forward port /bin/pwd and /bin/sh patches to perl-5.20.2. (diff) | |
download | heroxbd-bbbdc687fcc0726f9c6d0c51c820d1a7c3aab54d.tar.gz heroxbd-bbbdc687fcc0726f9c6d0c51c820d1a7c3aab54d.tar.bz2 heroxbd-bbbdc687fcc0726f9c6d0c51c820d1a7c3aab54d.zip |
dev-lang/ocaml: carbon copy from gentoo-x86.
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/ocaml/ChangeLog | 948 | ||||
-rw-r--r-- | dev-lang/ocaml/Manifest | 27 | ||||
-rw-r--r-- | dev-lang/ocaml/files/ocaml-3.11.2-Fix-ocamlopt-w.r.t.-binutils-2.21.patch | 66 | ||||
-rw-r--r-- | dev-lang/ocaml/files/ocaml-4.01.0-pkg-config-ncurses.patch | 15 | ||||
-rw-r--r-- | dev-lang/ocaml/files/ocaml-rebuild.sh | 51 | ||||
-rw-r--r-- | dev-lang/ocaml/files/ocaml.conf | 5 | ||||
-rw-r--r-- | dev-lang/ocaml/metadata.xml | 5 | ||||
-rw-r--r-- | dev-lang/ocaml/ocaml-3.11.2.ebuild | 135 | ||||
-rw-r--r-- | dev-lang/ocaml/ocaml-3.12.1.ebuild | 132 | ||||
-rw-r--r-- | dev-lang/ocaml/ocaml-4.01.0.ebuild | 128 | ||||
-rw-r--r-- | dev-lang/ocaml/ocaml-4.02.1.ebuild | 114 |
11 files changed, 1626 insertions, 0 deletions
diff --git a/dev-lang/ocaml/ChangeLog b/dev-lang/ocaml/ChangeLog new file mode 100644 index 0000000..784c8ec --- /dev/null +++ b/dev-lang/ocaml/ChangeLog @@ -0,0 +1,948 @@ +# ChangeLog for dev-lang/ocaml +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.222 2014/12/01 16:33:19 aballier Exp $ + + 01 Dec 2014; Alexis Ballier <aballier@gentoo.org> ocaml-4.02.1.ebuild: + specify host & target to help cross-compiling, unfortunately it is not + sufficient due to tryrun like constructs + + 01 Dec 2014; Alexis Ballier <aballier@gentoo.org> -ocaml-4.00.1-r1.ebuild: + remove old + +*ocaml-4.02.1 (28 Nov 2014) + + 28 Nov 2014; Alexis Ballier <aballier@gentoo.org> +ocaml-4.02.1.ebuild: + version bump + + 18 Jan 2014; Mark Wright <gienah@gentoo.org> + +files/ocaml-3.11.2-Fix-ocamlopt-w.r.t.-binutils-2.21.patch, + +files/ocaml-4.01.0-pkg-config-ncurses.patch, ocaml-3.11.2.ebuild, + ocaml-3.12.1.ebuild, ocaml-4.00.1-r1.ebuild, ocaml-4.01.0.ebuild: + Fix bug #459512 - dev-lang/ocaml with sys-libs/ncurses[tinfo] - + .../work/ocaml-4.00.1/byterun/terminfo.c:54: undefined reference to 'tgetent', + thanks to Reinis Danne for reporting (patch by me). Add virtual/pkg-config to + DEPEND as the ocaml configure script calls pkg-config. Apply patch from + upstream for upstream bug http://caml.inria.fr/mantis/view.php?id=5237 to + ocaml-3.11.2. + + 15 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org> ocaml-4.01.0.ebuild: + Prefixified and keyworded amd64-linux, x86-linux + + 14 Sep 2013; Alexis Ballier <aballier@gentoo.org> -ocaml-4.00.0.ebuild, + -ocaml-4.00.1.ebuild, -ocaml-4.01.0_beta1.ebuild, -ocaml-4.01.0_rc1.ebuild: + remove old + +*ocaml-4.01.0 (14 Sep 2013) + + 14 Sep 2013; Alexis Ballier <aballier@gentoo.org> +ocaml-4.01.0.ebuild: + bump to 4.01.0 + +*ocaml-4.01.0_rc1 (03 Sep 2013) + + 03 Sep 2013; Alexis Ballier <aballier@gentoo.org> +ocaml-4.01.0_rc1.ebuild: + bump to rc1 + +*ocaml-4.01.0_beta1 (16 Aug 2013) + + 16 Aug 2013; Alexis Ballier <aballier@gentoo.org> +ocaml-4.01.0_beta1.ebuild: + version bump + + 19 Jun 2013; Alexis Ballier <aballier@gentoo.org> ocaml-4.00.1-r1.ebuild: + fix dosym warning, bug #470106 + +*ocaml-4.00.1-r1 (02 Mar 2013) + + 02 Mar 2013; Alexis Ballier <aballier@gentoo.org> +ocaml-4.00.1-r1.ebuild: + Import a patch from archlinux to build against tk8.6, drop a useless patch + for LDFLAGS and set the right variable + + 18 Feb 2013; Alexis Ballier <aballier@gentoo.org> ocaml-4.00.1.ebuild: + stop installing compiler-libs manually, let it be the standard way + + 07 Feb 2013; Alexis Ballier <aballier@gentoo.org> ocaml-4.00.1.ebuild: + Do not suggest emerge @ocaml-rebuild if portage 2.2 is not used, it is not + going to work, bug #444254 + + 07 Feb 2013; Alexis Ballier <aballier@gentoo.org> ocaml-4.00.1.ebuild: + Bump to EAPI 5, use PV subslot because we want to rebuild everything + everytime ocaml is updated + +*ocaml-4.00.1 (07 Oct 2012) + + 07 Oct 2012; Alexis Ballier <aballier@gentoo.org> +ocaml-4.00.1.ebuild: + version bump + + 27 Jul 2012; Alexis Ballier <aballier@gentoo.org> -ocaml-4.00.0_beta2.ebuild, + -ocaml-4.00.0_rc1.ebuild: + remove old + +*ocaml-4.00.0 (27 Jul 2012) + + 27 Jul 2012; Alexis Ballier <aballier@gentoo.org> +ocaml-4.00.0.ebuild: + bump to 4.00.0 final + +*ocaml-4.00.0_rc1 (19 Jul 2012) + + 19 Jul 2012; Alexis Ballier <aballier@gentoo.org> +ocaml-4.00.0_rc1.ebuild: + version bump + +*ocaml-4.00.0_beta2 (10 Jun 2012) + + 10 Jun 2012; Alexis Ballier <aballier@gentoo.org> +ocaml-4.00.0_beta2.ebuild: + version bump + + 24 May 2012; Alexis Ballier <aballier@gentoo.org> ocaml-3.12.1.ebuild: + keyword ~amd64-fbsd + + 15 May 2012; Benda Xu <heroxbd@gentoo.org> ocaml-3.12.1.ebuild: + on arm, use user -O flags instead of hard coding -O0, as per bug 340607. + Thanks to Josh Parsons for investigating the issue. + + 06 Nov 2011; Brent Baude <ranger@gentoo.org> ocaml-3.12.1.ebuild: + Marking ocaml-3.12.1 ppc for bug 361767 + + 17 Oct 2011; Jeroen Roovers <jer@gentoo.org> ocaml-3.12.1.ebuild: + Stable for HPPA (bug #361767). + + 09 Oct 2011; Raúl Porcel <armin76@gentoo.org> ocaml-3.12.1.ebuild: + alpha/ia64/sparc stable wrt #361767 + + 20 Sep 2011; Tony Vroon <chainsaw@gentoo.org> ocaml-3.12.1.ebuild: + Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney & + Agostino "ago" Sarubbo in bug #361767. + + 19 Sep 2011; Markus Meier <maekke@gentoo.org> ocaml-3.12.1.ebuild: + arm stable, bug #361767 + + 18 Sep 2011; Andreas Schuerch <nativemad@gentoo.org> ocaml-3.12.1.ebuild: + x86 stable, thanks JD, bug 361767 + + 06 Sep 2011; Alexis Ballier <aballier@gentoo.org> ocaml-3.12.1.ebuild: + suggest how to rebuild ocaml packages without the set + + 11 Jul 2011; Matt Turner <mattst88@gentoo.org> ocaml-3.12.1.ebuild: + Added ~mips, bug 319649 + + 06 Jul 2011; Alexis Ballier <aballier@gentoo.org> -ocaml-3.12.0.ebuild, + -ocaml-3.12.0-r1.ebuild, -ocaml-3.12.1_rc1.ebuild: + remove old + +*ocaml-3.12.1 (04 Jul 2011) + + 04 Jul 2011; Alexis Ballier <aballier@gentoo.org> +ocaml-3.12.1.ebuild: + bump to 3.12.1 + +*ocaml-3.12.1_rc1 (26 Jun 2011) + + 26 Jun 2011; Alexis Ballier <aballier@gentoo.org> +ocaml-3.12.1_rc1.ebuild: + bump to rc + +*ocaml-3.12.0-r1 (11 Jun 2011) + + 11 Jun 2011; Alexis Ballier <aballier@gentoo.org> +ocaml-3.12.0-r1.ebuild, + +files/ocaml.conf: + Install a portage set for @ocaml-rebuild to replace ocaml-rebuild.sh + + 27 Feb 2011; Alexis Ballier <aballier@gentoo.org> ocaml-3.12.0.ebuild: + Add a patch to pass libs as last argument to the linker when linking, fixes + our as-needed problems: bug #331377 and bug #331075 + + 24 Jan 2011; Alexis Ballier <aballier@gentoo.org> + -files/ocaml-3.10.0-automagic.patch, + -files/ocaml-3.10.0-call-ld-with-proper-ldflags.patch, + -files/ocaml-3.10.0-configure.patch, + -files/ocaml-3.10.0-exec-stack-fixes.patch, -ocaml-3.10.2.ebuild, + -files/ocaml-3.10.2-tk85.patch: + remove old + + 22 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> ocaml-3.11.2.ebuild: + ppc/ppc64 stable wrt #343751 + + 04 Dec 2010; Raúl Porcel <armin76@gentoo.org> ocaml-3.11.2.ebuild: + alpha/ia64/sparc stable wrt #343751 + + 15 Nov 2010; Thomas Kahle <tomka@gentoo.org> ocaml-3.11.2.ebuild: + x86 stable per bug 343751 + + 06 Nov 2010; Markus Meier <maekke@gentoo.org> ocaml-3.11.2.ebuild: + arm stable, bug #343751 + + 05 Nov 2010; Markos Chandras <hwoarang@gentoo.org> ocaml-3.11.2.ebuild: + Stable on amd64 wrt bug #343751 + + 05 Nov 2010; Jeroen Roovers <jer@gentoo.org> ocaml-3.11.2.ebuild: + Stable for HPPA (bug #343751). + + 04 Aug 2010; Alexis Ballier <aballier@gentoo.org> files/ocaml-rebuild.sh: + exit nicely if no ocaml package is installed in ocaml-rebuild.sh, by Diego + E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>, bug #319553 + +*ocaml-3.12.0 (02 Aug 2010) + + 02 Aug 2010; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.12.0_rc1.ebuild, +ocaml-3.12.0.ebuild: + version bump + +*ocaml-3.12.0_rc1 (25 Jul 2010) + + 25 Jul 2010; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.12.0_beta1.ebuild, +ocaml-3.12.0_rc1.ebuild: + bump to rc1 + +*ocaml-3.12.0_beta1 (17 Jun 2010) + + 17 Jun 2010; Alexis Ballier <aballier@gentoo.org> + +ocaml-3.12.0_beta1.ebuild: + Add the first beta of ocaml 3.12 + + 19 Apr 2010; Raúl Porcel <armin76@gentoo.org> ocaml-3.10.2.ebuild, + ocaml-3.11.2.ebuild: + Force -O0 on arm + + 12 Apr 2010; Alexis Ballier <aballier@gentoo.org> -ocaml-3.11.1.ebuild: + remove old + +*ocaml-3.11.2 (20 Jan 2010) + + 20 Jan 2010; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.11.2_rc1.ebuild, +ocaml-3.11.2.ebuild: + bump to final release + +*ocaml-3.11.2_rc1 (03 Jan 2010) + + 03 Jan 2010; Alexis Ballier <aballier@gentoo.org> + +ocaml-3.11.2_rc1.ebuild: + bump to 3.11.2_rc1 + + 12 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> ocaml-3.11.1.ebuild: + Use -j1 for build as per bug #279968. + + 27 Sep 2009; Alexis Ballier <aballier@gentoo.org> ocaml-3.11.1.ebuild: + Filter mfpmath=sse, it causes ocamlc.opt to segfault. Bug #285993 + + 19 Sep 2009; Alexis Ballier <aballier@gentoo.org> ocaml-3.11.1.ebuild: + Filter fomit-frame-pointer, ocaml builds some programs with -pg which + causes build failures with fomit-frame-pointer, bug #270920 + + 02 Aug 2009; Diego E. Pettenò <flameeyes@gentoo.org> ocaml-3.10.2.ebuild: + Use serial make everywhere until fixed. + + 01 Aug 2009; Diego E. Pettenò <flameeyes@gentoo.org> ocaml-3.10.2.ebuild: + Use -j1 for make. Bug #279968. + + 20 Jun 2009; Alexis Ballier <aballier@gentoo.org> ocaml-3.11.1.ebuild: + use CHOST prefixed toolchain for building, this does not give us cross + compile support though + + 20 Jun 2009; Alexis Ballier <aballier@gentoo.org> + -files/ocaml-3.11.0_beta1-configure.patch, + -files/ocaml-3.11.0_beta1-exec-stack-fixes.patch, + -files/ocaml-3.11.0_beta1-yaccldflags.patch, ocaml-3.11.1.ebuild: + Make a tarball from the various patches + + 19 Jun 2009; Alexis Ballier <aballier@gentoo.org> -ocaml-3.11.0.ebuild: + remove old + +*ocaml-3.11.1 (15 Jun 2009) + + 15 Jun 2009; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.11.1_rc1.ebuild, +ocaml-3.11.1.ebuild: + bump to final 3.11.1 + + 03 Jun 2009; Alexis Ballier <aballier@gentoo.org> -ocaml-3.08.4.ebuild: + remove old + +*ocaml-3.11.1_rc1 (03 Jun 2009) + + 03 Jun 2009; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.11.1_rc0.ebuild, +ocaml-3.11.1_rc1.ebuild: + version bump + +*ocaml-3.11.1_rc0 (19 May 2009) + + 19 May 2009; Alexis Ballier <aballier@gentoo.org> ocaml-3.10.2.ebuild, + ocaml-3.11.0.ebuild, +ocaml-3.11.1_rc0.ebuild: + bump to 3.11.1rc0 and define eapi before inherit + + 09 Apr 2009; Raúl Porcel <armin76@gentoo.org> ocaml-3.10.2.ebuild: + arm stable + + 20 Jan 2009; Alexis Ballier <aballier@gentoo.org> ocaml-3.08.4.ebuild, + ocaml-3.10.2.ebuild, ocaml-3.11.0.ebuild: + explicitly set RDEPEND to DEPEND + + 20 Jan 2009; Alexis Ballier <aballier@gentoo.org> + files/ocaml-3.11.0_beta1-yaccldflags.patch: + include upstream bug report link in the patch + + 20 Jan 2009; Alexis Ballier <aballier@gentoo.org> ocaml-3.10.2.ebuild, + ocaml-3.11.0.ebuild: + Set LC_ALL to C because there are many a-z A-Z regexps that may cause + build failures, bug #255379 + + 11 Dec 2008; Alexis Ballier <aballier@gentoo.org> files/ocaml-rebuild.sh: + Simplify ocaml-rebuild.sh: dont clean first and let portage handle the + deps, use --oneshot to not pollute world file, bug #250192 + +*ocaml-3.11.0 (08 Dec 2008) + + 08 Dec 2008; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.11.0_rc1.ebuild, +ocaml-3.11.0.ebuild: + bump to final 3.11.0 + + 27 Nov 2008; Alexis Ballier <aballier@gentoo.org> ocaml-3.11.0_rc1.ebuild: + Dont try to install native code compiler libs when not building native + code, reported by Jeroen Roovers <jer@gentoo.org> in bug #248929 + +*ocaml-3.11.0_rc1 (25 Nov 2008) + + 25 Nov 2008; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.11.0_beta1.ebuild, +ocaml-3.11.0_rc1.ebuild: + bump to rc1 + + 14 Nov 2008; Alexis Ballier <aballier@gentoo.org> + files/ocaml-3.11.0_beta1-configure.patch: + respect ldflags when building shared libs too + + 14 Nov 2008; Alexis Ballier <aballier@gentoo.org> + +files/ocaml-3.11.0_beta1-yaccldflags.patch, ocaml-3.11.0_beta1.ebuild: + respect ldflags for ocamlyacc + + 07 Nov 2008; Alexis Ballier <aballier@gentoo.org> + -files/ocaml-3.11.0_beta1-call-ld-with-proper-ldflags.patch, + files/ocaml-3.11.0_beta1-configure.patch, ocaml-3.11.0_beta1.ebuild: + merge similar patches and make it honour better ldflags + +*ocaml-3.11.0_beta1 (15 Oct 2008) + + 15 Oct 2008; Alexis Ballier <aballier@gentoo.org> + +files/ocaml-3.11.0_beta1-call-ld-with-proper-ldflags.patch, + +files/ocaml-3.11.0_beta1-configure.patch, + +files/ocaml-3.11.0_beta1-exec-stack-fixes.patch, + +ocaml-3.11.0_beta1.ebuild: + New upstream beta release + + 22 Sep 2008; Raúl Porcel <armin76@gentoo.org> ocaml-3.10.2.ebuild: + Re-add ~arm wrt #178256 + + 16 Jun 2008; Alexis Ballier <aballier@gentoo.org> ocaml-3.08.4.ebuild, + ocaml-3.10.2.ebuild: + shorten description to please repoman + + 16 Jun 2008; Alexis Ballier <aballier@gentoo.org> + -files/ocaml-3.09.3-Makefile.patch, -files/ocaml-3.09.3-automagic.patch, + -files/ocaml-3.09.3-call_ld_with_proper_flags.patch, + -files/ocaml-3.09.3-configure.patch, + -files/ocaml-3.09.3-exec-stack-fixes.patch, + -files/ocaml-3.09.3-execheap.patch, + -files/ocaml-3.09.3-hppa-optimize-for-size-ocamlp4.patch, + -ocaml-3.09.3-r1.ebuild: + remove old version + + 09 Jun 2008; Raúl Porcel <armin76@gentoo.org> ocaml-3.10.2.ebuild: + alpha/ia64/sparc stable wrt #224893 + + 08 Jun 2008; Kenneth Prugh <ken69267@gentoo.org> ocaml-3.10.2.ebuild: + amd64 stable, bug #224893 + + 07 Jun 2008; Alexis Ballier <aballier@gentoo.org> files/ocaml-rebuild.sh: + Tune up a bit ocaml-rebuild.sh so that it does not give syntax errors on + non integer slots. + + 07 Jun 2008; nixnut <nixnut@gentoo.org> ocaml-3.10.2.ebuild: + Stable on ppc wrt bug 224893 + + 07 Jun 2008; Jeroen Roovers <jer@gentoo.org> ocaml-3.10.2.ebuild: + Stable for HPPA (bug #224893). + + 05 Jun 2008; Christian Faulhammer <opfer@gentoo.org> ocaml-3.10.2.ebuild: + stable x86, bug 224893 + + 04 Jun 2008; Markus Rothe <corsair@gentoo.org> ocaml-3.10.2.ebuild: + Stable on ppc64; bug #224893 + + 09 Mar 2008; Alexis Ballier <aballier@gentoo.org> -ocaml-3.09.3-r2.ebuild, + -ocaml-3.10.1.ebuild: + remove unused versions + + 09 Mar 2008; Alexis Ballier <aballier@gentoo.org> + +files/ocaml-3.10.2-tk85.patch, ocaml-3.10.2.ebuild: + Add a patch initially from mandriva modified by me to handle tk up to 8.5 + +*ocaml-3.10.2 (29 Feb 2008) + + 29 Feb 2008; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.10.2_rc1.ebuild, +ocaml-3.10.2.ebuild: + bump to release 3.10.2, remove the rc + +*ocaml-3.10.2_rc1 (24 Feb 2008) + + 24 Feb 2008; Alexis Ballier <aballier@gentoo.org> + +ocaml-3.10.2_rc1.ebuild: + bump release candidate under pmask + + 24 Feb 2008; Alexis Ballier <aballier@gentoo.org> -ocaml-3.09.2.ebuild, + -ocaml-3.09.3.ebuild, -ocaml-3.10.0.ebuild: + remove unused versions + +*ocaml-3.10.1 (11 Jan 2008) + + 11 Jan 2008; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.10.1_rc2.ebuild, +ocaml-3.10.1.ebuild: + bump to final 3.10.1 + + 03 Jan 2008; Alexis Ballier <aballier@gentoo.org> ocaml-3.10.0.ebuild, + ocaml-3.10.1_rc2.ebuild: + Allow to disable ocamlopt via an useflag + + 02 Jan 2008; Alexis Ballier <aballier@gentoo.org> ocaml-3.08.4.ebuild, + ocaml-3.09.2.ebuild, ocaml-3.09.3.ebuild: + Please repoman warnings, thanks to zmedico for the hint + +*ocaml-3.10.1_rc2 (02 Jan 2008) + + 02 Jan 2008; Alexis Ballier <aballier@gentoo.org> + -ocaml-3.10.1_rc1.ebuild, +ocaml-3.10.1_rc2.ebuild: + bump to rc2 + + 20 Dec 2007; Alexis Ballier <aballier@gentoo.org> + -files/ocaml-3.10.0-execheap.patch, ocaml-3.10.0.ebuild, + ocaml-3.10.1_rc1.ebuild: + clean up unused patch + +*ocaml-3.10.1_rc1 (20 Dec 2007) + + 20 Dec 2007; Alexis Ballier <aballier@gentoo.org> + +ocaml-3.10.1_rc1.ebuild: + Add ocaml 3.10.1 release candidate 1, for testing purposes + + 19 Dec 2007; Alexis Ballier <aballier@gentoo.org> ocaml-3.10.0.ebuild: + make the information about the need to run ocaml-rebuild.sh a warning + because it is really needed to run it after an upgrade + + 19 Dec 2007; Alexis Ballier <aballier@gentoo.org> ocaml-3.08.4.ebuild, + ocaml-3.09.2.ebuild, ocaml-3.09.3.ebuild: + quote directory variables + + 19 Dec 2007; Alexis Ballier <aballier@gentoo.org> ocaml-3.08.4.ebuild, + ocaml-3.09.2.ebuild, ocaml-3.09.3.ebuild, ocaml-3.09.3-r1.ebuild, + ocaml-3.09.3-r2.ebuild, ocaml-3.10.0.ebuild: + no need to dodoc the license + + 19 Dec 2007; Alexis Ballier <aballier@gentoo.org> + files/ocaml-3.10.0-exec-stack-fixes.patch, ocaml-3.10.0.ebuild: + Fix hardenend build by telling gcc to not generate PIE executables with + ocaml objects; remove again exec stacks due to some variables renaming in + the build system + +*ocaml-3.09.3-r2 (29 Oct 2007) + + 29 Oct 2007; Ulrich Mueller <ulm@gentoo.org> +ocaml-3.09.3-r2.ebuild, + ocaml-3.10.0.ebuild: + Add app-emacs/ocaml-mode and app-xemacs/ocaml to PDEPEND, bug #43128. + + 15 Oct 2007; Markus Rothe <corsair@gentoo.org> ocaml-3.09.3-r1.ebuild: + Stable on ppc64 + + 12 Sep 2007; Raúl Porcel <armin76@gentoo.org> ocaml-3.09.3-r1.ebuild: + Re-add forced LDFLAGS for alpha, since it still needs it + + 10 Sep 2007; Wulf C. Krueger <philantrop@gentoo.org> + ocaml-3.09.3-r1.ebuild: + Marked stable on amd64 as requested by aballier. + + 23 Aug 2007; Alexis Ballier <aballier@gentoo.org> files/ocaml-rebuild.sh: + fix usage of deprecated emerge unmerge in ocaml-rebuild.sh, thanks to Jack + Kelly <weldingmaskman@hotmail.com>, bug #189032 + + 13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> + ocaml-3.09.3-r1.ebuild: + ppc. stable + + 22 Jul 2007; Jeroen Roovers <jer@gentoo.org> ocaml-3.09.3-r1.ebuild: + Stable for HPPA too. + + 12 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> + ocaml-3.09.3-r1.ebuild: + Stable on sparc + + 11 Jul 2007; Raúl Porcel <armin76@gentoo.org> ocaml-3.09.3-r1.ebuild: + alpha/ia64/x86 stable and drop append-ldflags for alpha, not needed anymore + + 26 May 2007; Raúl Porcel <armin76@gentoo.org> ocaml-3.09.3-r1.ebuild, + ocaml-3.10.0.ebuild: + Add no-relax to LDFLAGS for alpha, and keyword latest version ~alpha + + 26 May 2007; Raúl Porcel <armin76@gentoo.org> ocaml-3.09.3-r1.ebuild: + Readd ~alpha wrt #178256 + + 26 May 2007; Alexis Ballier <aballier@gentoo.org> + +files/ocaml-3.10.0-execheap.patch, ocaml-3.10.0.ebuild: + merge paxmarking of the compilers and makefile patch to replace multiple + occurences of @compiler@ in ocamlcomp.sh.in that allows building with an + hardened kernel + +*ocaml-3.10.0 (26 May 2007) + + 26 May 2007; Alexis Ballier <aballier@gentoo.org> + +files/ocaml-3.10.0-automagic.patch, + +files/ocaml-3.10.0-call-ld-with-proper-ldflags.patch, + +files/ocaml-3.10.0-configure.patch, + +files/ocaml-3.10.0-exec-stack-fixes.patch, +ocaml-3.10.0.ebuild: + New upstream release + + 15 May 2007; Jeroen Roovers <jer@gentoo.org> ocaml-3.09.3-r1.ebuild: + Marked ~hppa (bug #178256). + + 15 May 2007; Alexis Ballier <aballier@gentoo.org> + +files/ocaml-3.09.3-hppa-optimize-for-size-ocamlp4.patch, + ocaml-3.09.3-r1.ebuild: + Optimize ocamlp4 for size on hppa, bug #178256 + + 14 May 2007; Alexis Ballier <aballier@gentoo.org> + +files/ocaml-3.09.3-call_ld_with_proper_flags.patch, + ocaml-3.09.3-r1.ebuild: + Call ld with proper flags to prevent compilation failures of some other + ocaml packages + + 14 May 2007; Jeroen Roovers <jer@gentoo.org> ocaml-3.09.3-r1.ebuild: + Reverting ~hppa keywording due to build failure. + + 14 May 2007; Jeroen Roovers <jer@gentoo.org> ocaml-3.09.3-r1.ebuild: + Marked ~hppa (bug #178256). + + 13 May 2007; Raúl Porcel <armin76@gentoo.org> ocaml-3.09.3-r1.ebuild: + Readd ~ia64 wrt bug 178256 + + 12 May 2007; Alexis Ballier <aballier@gentoo.org> + +files/ocaml-3.09.3-automagic.patch, ocaml-3.09.3-r1.ebuild: + Fix X and gdbm automagics + + 12 May 2007; Alexis Ballier <aballier@gentoo.org> ocaml-3.09.3-r1.ebuild: + Add ncurses useflag (was automagic) + + 12 May 2007; Alexis Ballier <aballier@gentoo.org> + files/ocaml-3.09.3-configure.patch: + Do not ignore cflags/ldflags for native compiler + + 12 May 2007; Alexis Ballier <aballier@gentoo.org> ocaml-3.09.3-r1.ebuild: + Install ocaml-rebuild.sh in /usr/sbin rather than keeping it in PORTDIR, fix + bug #175668 + + 11 May 2007; Alexis Ballier <aballier@gentoo.org> ocaml-3.09.3.ebuild, + ocaml-3.09.3-r1.ebuild: + Dont run make bootstrap for src_test, it deletes ocamlopt, upstream does not + provide a clean test suite, if we want one we definitely should not use make + bootstrap, closes bug #159237 and bug #177706 + + 11 May 2007; Alexis Ballier <aballier@gentoo.org> + -files/ocaml-3.08.3-gcc4.patch, -ocaml-3.08.3.ebuild, ocaml-3.08.4.ebuild, + ocaml-3.09.2.ebuild, ocaml-3.09.3.ebuild, ocaml-3.09.3-r1.ebuild: + Fix bug #135641 again, remove unused version, drop virtual/libc dep as it is + in system anyway + + 22 Apr 2007; Christian Heim <phreak@gentoo.org> ocaml-3.09.3-r1.ebuild: + Restricting FEATURES=test for now, make bootstrap deletes the *.opt files + (thanks Matti); Removing the QA_TEXTREL definition, which is only intended + for binary packages; Provide a way to compile ocaml on AMD64/hardened. + +*ocaml-3.09.3-r1 (22 Apr 2007) + + 22 Apr 2007; Christian Heim <phreak@gentoo.org> + +files/ocaml-3.09.3-Makefile.patch, +files/ocaml-3.09.3-configure.patch, + +files/ocaml-3.09.3-exec-stack-fixes.patch, + +files/ocaml-3.09.3-execheap.patch, +ocaml-3.09.3-r1.ebuild: + Revision bump, fixing #153382 (ocaml produces binaries contain executable + stacks), #134403 (dev-lang/ocaml-3.08.4 emerge failed on hardened amd64) and + #110541 (ERROR: dev-lang/ocaml-3.08.3 failed.) - this makes dev-lang/ocaml + "useable" on hardened boxes. + + 15 Apr 2007; Markus Rothe <corsair@gentoo.org> ocaml-3.09.3.ebuild: + Stable on ppc64 + + 13 Mar 2007; Raúl Porcel <armin76@gentoo.org> ocaml-3.09.3.ebuild: + x86 stable + + 17 Feb 2007; Fabian Groffen <grobian@gentoo.org> ocaml-3.08.3.ebuild, + ocaml-3.08.4.ebuild: + Dropped ppc-macos keyword, see you in prefix + + 06 Feb 2007; Marius Mauch <genone@gentoo.org> ocaml-3.08.3.ebuild, + ocaml-3.08.4.ebuild, ocaml-3.09.2.ebuild, ocaml-3.09.3.ebuild: + Replacing einfo with elog + + 14 Dec 2006; Timothy Redaelli <drizzt@gentoo.org> ocaml-3.09.3.ebuild: + Add ~x86-fbsd keyword + + 03 Dec 2006; Markus Rothe <corsair@gentoo.org> ocaml-3.09.2.ebuild: + Stable on ppc64 + + 07 Nov 2006; Alexandre Buisse <nattfodd@gentoo.org> ocaml-3.08.3.ebuild, + ocaml-3.08.4.ebuild, ocaml-3.09.2.ebuild, ocaml-3.09.3.ebuild: + Disable native code generation on ppc64 (and probably hppa soon), see bug + #149014. + + 05 Nov 2006; Danny van Dyk <kugelfang@gentoo.org> ocaml-3.09.2.ebuild: + Marked stable on amd64. + + 04 Nov 2006; Christian Faulhammer <opfer@gentoo.org> ocaml-3.09.2.ebuild: + stabled x86, bug #153506 + + 03 Nov 2006; Alexandre Buisse <nattfodd@gentoo.org> ocaml-3.08.3.ebuild, + ocaml-3.08.4.ebuild, ocaml-3.09.2.ebuild, ocaml-3.09.3.ebuild: + Change tcltk USE to tk (bug #17808). + + 02 Nov 2006; Alexandre Buisse <nattfodd@gentoo.org> ocaml-3.09.3.ebuild: + Fix stupid quoting problem which was deleting the -host switch to configure + (bug #153738). + + 31 Oct 2006; Chris White <chriswhite@gentoo.org> ocaml-3.09.2.ebuild: + PPC stable for bug #153506. + + 20 Sep 2006; Alexandre Buisse <nattfodd@gentoo.org> ocaml-3.09.3.ebuild: + Add fix for finding correct arch in cases where kernel_arch != system_arch + (bug #135641). + + 14 Sep 2006; Matthieu Sozeau <mattam@gentoo.org> files/ocaml-rebuild.sh: + Add a test for slots + + 12 Jul 2006; Gustavo Zacarias <gustavoz@gentoo.org> ocaml-3.09.2.ebuild: + Fast track stable on sparc since it fixes obvious issues + + 05 Jul 2006; Gustavo Zacarias <gustavoz@gentoo.org> ocaml-3.09.2.ebuild: + Keyworded ~sparc wrt #139014 + + 16 Jun 2006; Scott Stoddard <deltacow@gentoo.org> ocaml-3.09.2.ebuild: + Added ~amd64 re bug #126724 + + 21 May 2006; Markus Rothe <corsair@gentoo.org> ocaml-3.08.3.ebuild: + Stable on ppc64 + +*ocaml-3.09.2 (27 Apr 2006) + + 27 Apr 2006; Matthieu Sozeau <mattam@gentoo.org> +ocaml-3.09.2.ebuild: + Bug fix release 3.09.2. + + 18 Mar 2006; Markus Rothe <corsair@gentoo.org> ocaml-3.08.3.ebuild, + ocaml-3.08.4.ebuild, ocaml-3.09.1.ebuild: + Added ~ppc64 + + 06 Feb 2006; Aron Griffis <agriffis@gentoo.org> ocaml-3.08.4.ebuild: + Mark 3.08.4 stable on ia64 + + 04 Feb 2006; Aron Griffis <agriffis@gentoo.org> ocaml-3.08.4.ebuild: + Mark 3.08.4 stable on alpha + + 04 Feb 2006; Matthieu Sozeau <mattam@gentoo.org> + -files/ocaml-3.06-sparc-configure.patch, + -files/ocaml-3.06-tcltk-8.4compat-patch.bz2, -files/ocaml-3.07-hppa.patch, + -ocaml-3.06-r2.ebuild, -ocaml-3.07-r1.ebuild, -ocaml-3.08.1.ebuild: + Remove old, no longer used versions. + +*ocaml-3.09.1 (04 Feb 2006) + + 04 Feb 2006; Matthieu Sozeau <mattam@gentoo.org> -ocaml-3.09.0.ebuild, + +ocaml-3.09.1.ebuild: + Bumped to 3.09.1, bugfix release of 3.09.0 which i removed. All ocaml packages + should support it from now. + + 21 Dec 2005; Marcus D. Hanwell <cryos@gentoo.org> ocaml-3.08.4.ebuild: + Stable on amd64, bug 106837. + + 19 Nov 2005; Rene Nussbaumer <killerfox@gentoo.org> ocaml-3.08.4.ebuild: + Stable on hppa. + +*ocaml-3.09.0 (10 Nov 2005) + + 10 Nov 2005; Matthieu Sozeau <mattam@gentoo.org> +ocaml-3.09.0.ebuild: + Version bump, marked -* as it breaks some packages in gentoo which i'm trying + to get up-to-date , but the ebuild can be useful as it is for experienced + people. + + 09 Nov 2005; Jason Wever <weeve@gentoo.org> ocaml-3.08.4.ebuild: + Marked stable on SPARC wrt bug #106837. + + 16 Oct 2005; Rene Nussbaumer <killerfox@gentoo.org> ocaml-3.08.3.ebuild: + Stable on hppa. + + 27 Sep 2005; Jason Wever <weeve@gentoo.org> ocaml-3.08.3.ebuild: + Stable on SPARC. + +*ocaml-3.08.4 (21 Sep 2005) + + 21 Sep 2005; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.08.3.ebuild, + +ocaml-3.08.4.ebuild, -ocaml-3.08.ebuild: + Add latest version, remove unused one. Version .3 is stable on x86 and + amd64. + + 17 Sep 2005; Aron Griffis <agriffis@gentoo.org> ocaml-3.08.3.ebuild: + Mark 3.08.3 stable on ia64 + + 10 Sep 2005; Aron Griffis <agriffis@gentoo.org> ocaml-3.08.3.ebuild: + Mark 3.08.3 stable on alpha + + 26 Jul 2005; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.08.3.ebuild: + Added gcc4 patch, thanks to Peter Hjalmarsson <xake@telia.com> (fixes bug + #97186). + + 06 Jul 2005; Herbie Hopkins <herbs@gentoo.org> ocaml-3.08.3.ebuild: + Multilib fixes. + + 11 May 2005; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.08.3.ebuild: + Stable on ppc. + + 01 Apr 2005; Simon Stelling <blubb@gentoo.org> ocaml-3.08.1.ebuild: + stable on amd64 + + 01 Apr 2005; Aron Griffis <agriffis@gentoo.org> ocaml-3.08.1.ebuild: + stable on ia64 + +*ocaml-3.08 (19 Mar 2005) +*ocaml-3.07-r1 (19 Mar 2005) + + 19 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> + +files/ocaml-3.07-hppa.patch, +ocaml-3.07-r1.ebuild, +ocaml-3.08.ebuild: + resurrect versions to fix dep breakage + + 18 Mar 2005; Matthieu Sozeau <mattam@gentoo.org> + -files/ocaml-3.07-hppa.patch, files/ocaml-rebuild.sh, -ocaml-3.07-r1.ebuild, + -ocaml-3.08.2.ebuild, -ocaml-3.08.ebuild, +ocaml-3.08.3.ebuild: + Adding latest version. It's a bugfix release, hence i keeped the ~ flags. I + cleaned up the dir, keeping the most stable versions. I reworked the rebuild + script a little, it should not miss any package now. I tested the last version + of ocaml and the script with all ocaml packages on x86 and ppc. + + 07 Feb 2005; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.08.1.ebuild: + Stable on ppc. + + 04 Jan 2005; Guy Martin <gmsoft@gentoo.org> ocaml-3.08.1.ebuild: + Stable on hppa. + + 02 Jan 2005; Lina Pezzella <j4rg0n@gentoo.org> ocaml-3.08.1.ebuild: + Stable ppc-macos + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 20 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> ocaml-3.08.1.ebuild: + Stable on alpha. + + 07 Dec 2004; Jason Wever <weeve@gentoo.org> ocaml-3.08.1.ebuild: + Stable on sparc. + +*ocaml-3.08.2 (29 Nov 2004) + + 29 Nov 2004; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.08.1.ebuild, + +ocaml-3.08.2.ebuild: + Move 3.08.1 to x86 and add 3.08.2 release. + + 20 Oct 2004; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.07-r1.ebuild, + ocaml-3.08.1.ebuild, ocaml-3.08.ebuild: + Changed strip-flags to replace-flags, as advised by Carsten Tschense in bug + #65327. + + 12 Oct 2004; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.07-r1.ebuild, + ocaml-3.08.1.ebuild, ocaml-3.08.ebuild: + Add strip-flags to remove -O3 and other unsupported ones etc.. + + 22 Aug 2004; Travis Tilley <lv@gentoo.org> ocaml-3.08.ebuild: + stable on amd64 + +*ocaml-3.08.1 (19 Aug 2004) + + 19 Aug 2004; Matthieu Sozeau <mattam@gentoo.org> +ocaml-3.08.1.ebuild: + Version bump. + + 18 Aug 2004; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.07-r1.ebuild, + ocaml-3.08.ebuild: + Add handling of CFLAGS, use with care! + + 16 Aug 2004; Guy Martin <gmsoft@gentoo.org> ocaml-3.08.ebuild: + Yay, my port to hppa-linux is in the mainstream ! Marking stable ! + + 13 Aug 2004; Jason Wever <weeve@gentoo.org> ocaml-3.07-r1.ebuild: + Stable on sparc. + + 08 Aug 2004; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.07-r1.ebuild: + Move 3.07 to stable on ppc. + + 08 Aug 2004; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.06-r2.ebuild, + ocaml-3.07-r1.ebuild, ocaml-3.08.ebuild: + Add support for ocamldoc and latex via a new use flag. + +*ocaml-3.08 (08 Aug 2004) + + 08 Aug 2004; Matthieu Sozeau <mattam@gentoo.org> +ocaml-3.08.ebuild: + Version bump. + + 21 Jul 2004; Matthieu Sozeau <mattam@gentoo.org> files/ocaml-rebuild.sh, + ocaml-3.07-r1.ebuild: + Yet a little more robustness in the rebuild script. + + 21 Jul 2004; Matthieu Sozeau <mattam@gentoo.org> files/ocaml-rebuild.sh: + Fixed bug in the rebuild script. see #56597. + + 13 Jul 2004; Travis Tilley <lv@gentoo.org> ocaml-3.07-r1.ebuild: + adding back ~amd64 keyword + + 06 Jul 2004; Matthieu Sozeau <mattam@gentoo.org> -ocaml-3.06-r1.ebuild, + ocaml-3.06-r2.ebuild, -ocaml-3.06.ebuild, -ocaml-3.07.ebuild, + -ocaml-3.07_beta2.ebuild: + remove old, no longer needed versions. + + 06 Jul 2004; Matthieu Sozeau <mattam@gentoo.org> +files/ocaml-rebuild.sh, + ocaml-3.07-r1.ebuild: + Move to stable on x86, adding a rebuilding script. + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> ocaml-3.06-r1.ebuild, + ocaml-3.06-r2.ebuild, ocaml-3.06.ebuild, ocaml-3.07-r1.ebuild, + ocaml-3.07.ebuild, ocaml-3.07_beta2.ebuild: + virtual/glibc -> virtual/libc + + 27 Jun 2004; Alexander Plank <alexander@gentoo.org> ocaml-3.07-r1.ebuild + change keyword from macos to ~macos (because of ranlib work) + + 26 Jun 2004; Alexander Plank <alexander@gentoo.org> ocaml-3.07-r1.ebuild + add ranlib bit to ebuild and rekeyword macos (i tested it with unison) (thanks + Philippe Bouamriou for bug #57917 )) + + 25 Jun 2004; Alexander Plank <alexander@gentoo.org> ocaml-3.07-r1.ebuild + ~macos keyword (unison fails and cites ocaml problems) + + 25 Jun 2004; Alexander Plank <alexander@gentoo.org> ocaml-3.07-r1.ebuild + add macos keyword + + 28 May 2004; Danny van Dyk <kugelfang@gentoo.org> ocaml-3.07-r1.ebuild, + ocaml-3.07.ebuild, ocaml-3.07_beta2.ebuild: + Marked ocaml -amd64. Produces bad object code that causes segfaults under + certain conditions. This happens only on amd64. + + 15 May 2004; Bryan Østergaard <kloeri@gentoo.org> ocaml-3.07-r1.ebuild: + Stable on alpha. + + 11 May 2004; Guy Martin <gmsoft@gentoo.org> ocaml-3.07-r1.ebuild: + Marked stable on hppa. + + 08 May 2004; Guy Martin <gmsoft@gentoo.org> ocaml-3.07-r1.ebuild: + Added support for native hppa compiler. Marked ~hppa. + + 22 Apr 2004; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.07-r1.ebuild: + Fix unpacking of patch file (bug #48485). + + 19 Apr 2004; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.07-r1.ebuild: + Add fix for bug #46703 + + 17 Apr 2004; Travis Tilley <lv@gentoo.org> ocaml-3.07-r1.ebuild, + ocaml-3.07.ebuild: + added missing ~amd64 keyword + + 27 Feb 2004; Seemant Kulleen <seemant@gentoo.org> ocaml-3.06-r1.ebuild, + ocaml-3.06-r2.ebuild, ocaml-3.06.ebuild, ocaml-3.07-r1.ebuild, + ocaml-3.07.ebuild, ocaml-3.07_beta2.ebuild: + move the filter-flags statement into src_compile + + 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> ocaml-3.07-r1.ebuild: + add ~ia64 + + 03 Feb 2004; Matthieu Sozeau <mattam@gentoo.org> ocaml-3.06-r2.ebuild: + Mark stable/tested on ppc. + +*ocaml-3.07-r1 (17 Oct 2003) + + 17 Oct 2003; Martin Holzer <mholzer@gentoo.org> ocaml-3.07-r1.ebuild: + Adding patch. Closes #31265. + + 06 Oct 2003; Jason Wever <weeve@gentoo.org> ocaml-3.07.ebuild: + Fixed up sparc specific parts as the patch is no longer needed in the new rev, + but the -host arg is. + +*ocaml-3.07 (06 Oct 2003) + + 06 Oct 2003; George Shapovalov <george@gentoo.org> ocaml-3.07.ebuild : + 3.07 is out, this outdates the beta that was fixing #28025 + + 02 Oct 2003; Aron Griffis <agriffis@gentoo.org> ocaml-3.06-r2.ebuild, + ocaml-3.07_beta2.ebuild: + 3.06-r2 is stable; 3.07_beta2 is testing on alpha + +*ocaml-3.07_beta2 (11 Sep 2003) + + 11 Sep 2003; George Shapovalov <george@gentoo.org> ocaml-3.07_beta2.ebuild : + added new beta as it seems to fix some rare problem in #28025 + +*ocaml-3.06-r2 (09 Sep 2003) + + 09 Sep 2003; George Shapovalov <george@gentoo.org> ocaml-3.06-r2.ebuild, metadata.xml : + ocaml was using uotdated "head -1" construct throughout. Changed this to "head -n 1", + see #27835 for details. Also added metadata.xml + + 06 Sep 2003; Jason Wever <weeve@gentoo.org> ocaml-3.06-r1.ebuild, + ocaml-3.06.ebuild, files/ocaml-3.06-sparc-configure.patch: + Added patch and myconf fix to fix bug #23767. + +*ocaml-3.06-r1 (01 May 2003) + + 01 May 2003; George Shapovalov <george@gentoo.org> ocaml-3.06-r1.ebuild : + updated the ebuild to incorporate the fix for tk-8.4 necessary for lablgl. + Thanks to Rick Harris <rickharris@mightylegends.zapto.org> for the note and the patch. + +*ocaml-3.06 (28 Jan 2003) + + 11 Apr 2003; Joshua Brindle <method@gentoo.org> ocaml-3.04-r1.ebuild, + ocaml-3.06.ebuild: + added filter-flags -fstack-protector + + 28 Jan 2003; Jon Nall <nall@gentoo.org> ocaml-3.06 : + who made this build? i didn't. i just added ~ppc to it. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*ocaml-3.05 (07 Aug 2002) + + 06 Aug 2002; George Shapovalov <george@gentoo.org> ocaml-3.04-r2.ebuild, files/digest-ocaml-3.05 : + + new version + removed ppc patch as it was supposed to be unnecessary + ebuild is masked now, please test, especially ppc people. + tk dependency is optional, should build now without tcltk or X + + related ebuild submissions: + Bardur Arantsson <bardur-gta@odense.kollegienet.dk>, bug#5786 + ?Larry Cow <larrycow@free.fr>, bug# 5799 + +*ocaml-3.04-r2 (01 Aug 2002) + + 02 Aug 2002; George Shapovalov <george@gentoo.org> ocaml-3.04-r2.ebuild : + + tk dependence is reported (by Tim Hobbs <rectrix@rectrix.cx>) to be optional, + made it depend on tcltk use flag. + Created and masked new revision to give this some testing without interuption + to the working package. + Core devs (cvs access people): please do not unmask it on server! Instead please + let me know that it tested Ok. I will do necessary modifications to the -r1 + and delete -r2. This way we will not force everybody to rebuild perfectly + working package. + +*ocaml-3.04-r1 (24 Jun 2002) + + 24 Jun 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ocaml-3.04-r1.ebuild files/digest-ocaml-3.04-r1: + + ocaml library paths are now properly added to /etc/ld.so.conf. + + Removed ocaml-3.04.ebuild files/digest-ocaml-3.04 + +*ocaml-3.04 ( 7 Feb 2002 ) + + 7 June 2002; David Chamberlain <daybird@gentoo.org> Changelog + ocaml-3.04.ebuild files/ocaml-3.04-ppc.diff: + + Added patch from cvs so that ocaml will build on ppc. Closes out bug #2984 + + 7 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ChangeLog ocaml-3.04.ebuild files/digest-ocaml-3.04 : + + Objective Caml is a fast modern type-inferring functional programming + language descended from the ML (Meta Language) family. + + This builds a runtime environment and native compiler for ocaml. + + Submitted by Sean Mitchell. diff --git a/dev-lang/ocaml/Manifest b/dev-lang/ocaml/Manifest new file mode 100644 index 0000000..6de60c3 --- /dev/null +++ b/dev-lang/ocaml/Manifest @@ -0,0 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX ocaml-3.11.2-Fix-ocamlopt-w.r.t.-binutils-2.21.patch 2223 SHA256 612a9ac108bbfce2238aa5634123da162f0315dedb219958be705e0d92dcdd8e SHA512 75d3354d8d45150b5317cedf97051353f3f035f2b5dae3b30cc69e49f07d3989df8c585f3124777bdb4578a90eb2b1a58f696c019c42e199fb9084cb82d945c6 WHIRLPOOL 4e3d5be6c84b08711e9f9a17f6de8ddcba59faf0e44622b8fb5c9ff83b887c67d7c416847cf12d43338523d4e19c6288a420174927d3fbabb17233f89afc1d64 +AUX ocaml-4.01.0-pkg-config-ncurses.patch 675 SHA256 e8885d02a1e04086c3176a1c4b5c7e68521f5b39acffadeedc9359f4e0cf972b SHA512 b2f7c2a73857f70f4e02b5d8a981e09f85288b4e3b5c2f903a4f2b72486b554ae0202e26447e353782360ae498def81456a9919f4694a96a3218644e91ce6d53 WHIRLPOOL 6e42a67a36c2bf10dc7d0ff020ba73bf0ed2adfd8a040fd37fd4cf2acd3a88e06da06315ee04ec6e527214186da29cb3143ece3913d28538d907199fd70d45ce +AUX ocaml-rebuild.sh 1120 SHA256 893320630726c58ea3b501ef16913c150c50ea9d6cd38ecd26fa0679597d3a7c SHA512 05a3e81e95533135d9895091c21621c73ae82851abd4889d64f035979eb25f8d90b60f469d7ef5e789fd1a4adffd6bbe255e6708c14c24a04f8a423507d19a40 WHIRLPOOL 11eec7641f2bced1593f21e3b4d9bc1d6156082e8e23d4abc2cfd05294dccd13a9bf5c102b60c0dcca0b565f6edbf8e7364d3236d57db18dcdd520fe05d379a6 +AUX ocaml.conf 177 SHA256 b7f7ad0ff15bec096dcb87265d87f9b0ce8f946d4a2676dd7638ca0e14bb05c1 SHA512 4f0a48b8101b77d568d8d0a852f2a21fd46b7947c5d3f975ee4cd8a9c37c993d689cf5fb53b54a6b2740cb865051dc50c74c0c373eb697fca800ca143d401aa4 WHIRLPOOL d25c9ac2a565a5384c7f645be433faac192e4c41f55a08d74e99ec022ce06132a560070bb4771b261c6f023d3aec72fddb47279d5ab2cfe8cc93c70c97ff16d5 +DIST ocaml-3.11.2.tar.bz2 2346284 SHA256 86f3387a0d7e7c8be2a3c53af083a5a726e333686208d5ea0dd6bb5ac3f58143 SHA512 69888797bdab8f7baa5e398db08a723388876ed5920b62e9bf29a5214badde1c2024365f88bcbd89d43a0c8d9e4d1bd15486e4b12e8432f1c1bcedd17782faaf WHIRLPOOL d1e6d0851f8f1315f95cd0a470bb61dc1d39ec70f2ec23169ffc9aa74b2d02f5419e3474093319cb47125e7534a0d121751fd1971653e43bdca167f823d4c94a +DIST ocaml-3.12.1.tar.bz2 2949124 SHA256 edcf563da75e0b91f09765649caa98ab1535e0c7498f0737b5591b7de084958d SHA512 cbb050aabcbe19a4aa070d6cb74f3774cb136692dfd9433ca977f0f9520ad2f583b6cfb1a9cedfedc92e7dc794ac4a869e20aa5a67a4739002feb290435dc7e7 WHIRLPOOL b7bf4844452ab52027e6b785159df6e4defc548d2f3d31eb73dc0dc05214e7c19ed654c8b3ff234a85691599df0be568ba02fafe257856be7f603177584a7ca0 +DIST ocaml-4.01.0.tar.bz2 3691090 SHA256 b1ca708994180236917ae79e17606da5bd334ca6acd6873a550027e1c0ec874a SHA512 b0a4efa89d0e48e5c01922156a73a8ed67c58efa07170710eaef9de1138e1d6fff8a440b2c81860fc63c604f3a4e189b795bb08a5e9d8df60778fcd468985f6e WHIRLPOOL a31cc2c46e19ca1c5ca65ffdee77ef42b7269b1584f81629e29b725b167c7e3d9eb467a3e8171aaba7d2cf1d8aea31d1822c5631fe3e209ce7731c16112a11d3 +DIST ocaml-4.02.1.tar.xz 2031244 SHA256 68c4b01be54c23bc20fc0a8beaa5c7433b8483f8950490129cfe7662e0c6f4dc SHA512 79d257210c0ddfb0367250a688ffb58f143fcc8c159f7d6e149d42b074e811eaf69449b66ad39da399e1bdcb2bab5924d195fc7c5ebc29d44cb637c093b9931d WHIRLPOOL 2c9849f73a705a63c0d0d4682d1ab1225a3150f68bda98805dc2d2b11f100ee7206200b9dc49b07d39d1b737f45671f3662a9bf2c069d6795f26e1f9b9b65ead +DIST ocaml-patches-1.tar.bz2 3108 SHA256 ad1c252cba7cc50f70d19049fcd78aa359672e436ab9906424548229a04afa49 SHA512 36042cfec68ec06a172f07c7e8ac7904fccd0619a0d5ae2ffc6c87216be7450463fdbeeb9544e5df9d7d93ce9cd52b1502d4b74ee196a911c9f9273bc41d4396 WHIRLPOOL 2f04b3859295973b20bd83e718812f0ab1a993dc143523ebeab7b3d23cfda2bfe0f1eeb2ca1dc1393ae00192337e0cdc9d1472c5681fb719390d337a7d1ddc0e +DIST ocaml-patches-3.tar.bz2 4101 SHA256 c4ceb604f4480c78d1cf4f848b0903c8d37798d9761f582d8d1643d4e38b8658 SHA512 8be5c44de5a6b0b7c14723e41d92fe807b881b218cc5eee38ea7519c0f971415cb7fe30035303da275089dcb8a61c4f334c4a88e0bdbced3953503794b8308a7 WHIRLPOOL f1920606785702c44dead01b1426145653bc1931acba2d614c6818baddc051e4f74ca0322cae66ade63ba0cd0df5651cfd67f511fca5f12973b67a0c50ebab6d +DIST ocaml-patches-6.tar.bz2 2197 SHA256 7acfa3d056c2b3f7dfc3b1f96a2557d81802c837c2ba0abc1487de10627e5e07 SHA512 88afa904044192b945b537cbfc3c17308e333ed1d241332212b9500d01c14bb306905b03f2b48ec64dd2f428df1f7179772d742b77b4402da108ba7790239bf6 WHIRLPOOL d2001a8a3e799080c3981be87bcef62635c11cab037d6d92da186643614c6e2a568543f82f3566bfb099c063ad344cab2238edf863a9fb02081f4e20f442d9f8 +EBUILD ocaml-3.11.2.ebuild 4355 SHA256 64d0669832969b53640d97711006b1e2588d806cd73224dd6ff4764a886c7df3 SHA512 455c07ab33faf9e2f799eb049b42e08d6432b83e196cd451b426eb259b017e9448f45ac6d7558661b472af856b17bdc60f82b9408ae8c6545f459c4f723c5083 WHIRLPOOL 783ef6567feaca8839330dab8878903cf5a5b89a1cf611fb3b80431e4b0488271c01ee2a053eb51a37735e11a1e72ec1e02aea3ab9b03cb9f24599fb0e91ad90 +EBUILD ocaml-3.12.1.ebuild 4138 SHA256 9c0e7e46ba33952b1ba3d13a1a250993adac968dddc74b5f786054c28d2c61f6 SHA512 328c2d5eef9422a693a90910db84bcf03f771bcfc066262615e71024e3fec8d70cc985cd9840011650c55989e9f3fa6541bec7181c3b0f55bde1b92ddbfd902a WHIRLPOOL 7598bc6423ce3663ca777e05ebfcd1fd8d86dca59499d76e0c3a15b3734b2b0fbab7129ae7d3fd525f0614c9daa463bf59b581e18fbd7dff021f8de5460c6b8e +EBUILD ocaml-4.01.0.ebuild 3860 SHA256 466f5c7bc692d21cc7bb5ac634d301f6ff083887684f62c8b9a60ff73d93f7f3 SHA512 316ead5fa078932014a3a8f2f4f3d69c737ab87fdea7becf4b174024528faf59c904c5b8dc9c0ea2158fefd46a7ff481dfbc3f0e1b04f65424577227053e9deb WHIRLPOOL df3665b5296287cac79be659421f4799af41edcee459d383a5a9fbf046cf896273032c1e00aea5e4a82cedb63a73452cccc20efb64333c2d98326d3b5bcaefb1 +EBUILD ocaml-4.02.1.ebuild 3342 SHA256 76b9f20593881f58d6e2368341a7f092801f5398eaaf8c4d14a33a5453d4f7b4 SHA512 a74f7b3df74f173038d4d7f1e1cf4a6f1aef2681dfc673a9ff958f7e9e98c5e7a22832af394595e6d7c53ce8dac0ad37982878c7b3b7bb55ef4f9edccbe09b4b WHIRLPOOL 2acf914f99b011ba6085d4ddcedce8b358d526e8572ef1b7aa2985079360263c770b236a8d62abee35a23a9bd4da0a2b28f7812e4e2bce4a08e1ad1074c22743 +MISC ChangeLog 34762 SHA256 67556823b17ac03ecb19c5f3ac123a742931d8f6efb2740d77ce55ce8763d91d SHA512 a21e4dca61cf5a1d5e4167235e04562f4fc76c4fa6e839691771c41f6587036d824b06da8ad0c491e3b7f77d78d0c73c7ee2b1ccc9498322cafb8128351922bf WHIRLPOOL d3ed919b470f1aafc28fe5d450a5883b5f892b6cefe0a5b4ca06a6a8f180f434681fef7f6be1a78df1c4b0575a5041ed5f927418a92cc9291039eda24df3a7c8 +MISC metadata.xml 155 SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 SHA512 a525f91dd332fc144c42d1437bdae9c889cbcece6294c2d2f4baf6a532ac2e13492736e75b41c83fac31033a9ae53c37deb96286a5ab8575611136617640952c WHIRLPOOL 71a9c7aaf4e268c65c0d1e30e343911ccbcf99ef8c23773abc2b3af8d58d9f7d5c09632805d8ba9050c09eef629f2b340db9eb9ba8b9cd2e5d655fce3f91fcb6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlR8mFAACgkQvFcC4BYPU0oHqwCglePmp8UkmcoyOnHWKJznz2W+ +focAoKcA06x9KVPVbmo3ex2psNbq/VDz +=TbOP +-----END PGP SIGNATURE----- diff --git a/dev-lang/ocaml/files/ocaml-3.11.2-Fix-ocamlopt-w.r.t.-binutils-2.21.patch b/dev-lang/ocaml/files/ocaml-3.11.2-Fix-ocamlopt-w.r.t.-binutils-2.21.patch new file mode 100644 index 0000000..fa7664c --- /dev/null +++ b/dev-lang/ocaml/files/ocaml-3.11.2-Fix-ocamlopt-w.r.t.-binutils-2.21.patch @@ -0,0 +1,66 @@ +From: Stephane Glondu <steph@glondu.net> +Date: Tue, 8 Mar 2011 21:17:40 +0100 +Subject: [PATCH] Fix ocamlopt w.r.t. binutils 2.21 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Bug: http://caml.inria.fr/mantis/view.php?id=5237 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617404 +Authors: Eric Cooper, spiralvoice +Reviewed-by: Stéphane Glondu <steph@glondu.net> +--- + asmcomp/amd64/emit.mlp | 13 +++++++------ + asmcomp/i386/emit.mlp | 6 +++--- + 2 files changed, 10 insertions(+), 9 deletions(-) + +diff --git a/asmcomp/amd64/emit.mlp b/asmcomp/amd64/emit.mlp +index 4a3f844..525c6e6 100644 +--- a/asmcomp/amd64/emit.mlp ++++ b/asmcomp/amd64/emit.mlp +@@ -679,17 +679,18 @@ let fundecl fundecl = + emit_all true fundecl.fun_body; + List.iter emit_call_gc !call_gc_sites; + emit_call_bound_errors (); ++ begin match Config.system with ++ "linux" | "gnu" -> ++ ` .type {emit_symbol fundecl.fun_name},@function\n`; ++ ` .size {emit_symbol fundecl.fun_name},.-{emit_symbol fundecl.fun_name}\n` ++ | _ -> () ++ end; + if !float_constants <> [] then begin + if macosx + then ` .literal8\n` + else ` .section .rodata.cst8,\"a\",@progbits\n`; + List.iter emit_float_constant !float_constants +- end; +- match Config.system with +- "linux" | "gnu" -> +- ` .type {emit_symbol fundecl.fun_name},@function\n`; +- ` .size {emit_symbol fundecl.fun_name},.-{emit_symbol fundecl.fun_name}\n` +- | _ -> () ++ end + + (* Emission of data *) + +diff --git a/asmcomp/i386/emit.mlp b/asmcomp/i386/emit.mlp +index 2992f29..0b1252c 100644 +--- a/asmcomp/i386/emit.mlp ++++ b/asmcomp/i386/emit.mlp +@@ -905,12 +905,12 @@ let fundecl fundecl = + emit_all true fundecl.fun_body; + List.iter emit_call_gc !call_gc_sites; + emit_call_bound_errors (); +- List.iter emit_float_constant !float_constants; +- match Config.system with ++ begin match Config.system with + "linux_elf" | "bsd_elf" | "gnu" -> + ` .type {emit_symbol fundecl.fun_name},@function\n`; + ` .size {emit_symbol fundecl.fun_name},.-{emit_symbol fundecl.fun_name}\n` +- | _ -> () ++ | _ -> () end; ++ List.iter emit_float_constant !float_constants + + + (* Emission of data *) +-- diff --git a/dev-lang/ocaml/files/ocaml-4.01.0-pkg-config-ncurses.patch b/dev-lang/ocaml/files/ocaml-4.01.0-pkg-config-ncurses.patch new file mode 100644 index 0000000..b9fa750 --- /dev/null +++ b/dev-lang/ocaml/files/ocaml-4.01.0-pkg-config-ncurses.patch @@ -0,0 +1,15 @@ +--- ocaml-4.01.0-orig/configure 2013-08-23 16:22:36.000000000 +1000 ++++ ocaml-4.01.0/configure 2014-01-18 20:06:50.669644267 +1100 +@@ -892,7 +892,11 @@ + # For the terminfo module + + if test "$withcurses" = "yes"; then +- for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do ++ ncurseslibs="" ++ if pkg-config --exists ncurses 2>/dev/null; then ++ ncurseslibs=`pkg-config --libs ncurses` ++ fi ++ for libs in "${ncurseslibs}" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do + if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then + echo "termcap functions found (with libraries '$libs')" + echo "#define HAS_TERMCAP" >> s.h diff --git a/dev-lang/ocaml/files/ocaml-rebuild.sh b/dev-lang/ocaml/files/ocaml-rebuild.sh new file mode 100644 index 0000000..7dd14a4 --- /dev/null +++ b/dev-lang/ocaml/files/ocaml-rebuild.sh @@ -0,0 +1,51 @@ +#!/bin/sh +# run like this: ocaml-rebuild.sh [-h | -f] [emerge_options] + +emerge=/usr/bin/emerge + +if [ "$1" = "-h" ] +then + echo "usage: ocaml-rebuild.sh [-h | -f(orce)] [emerge_options]" + echo "With -f, the packages will first be unmerged and then emerged" + echo "with the given options to ensuree correct dependancy analysis." + echo "Otherwise emerge is run with the --pretend flag and the given" + echo "options." + echo "It is recommended to keep the list of rebuilt packages printed" + echo "in pretend mode in case something go wrong" + exit 1 +fi + +if [ "$1" = "-f" ] +then + pretend=0 + shift +else + pretend=1 +fi + +depends=`find /var/db/pkg -name DEPEND -exec grep -l 'dev-lang/ocaml\\|dev-ml/findlib' {} \;` + +for dep in $depends +do + dir=`dirname $dep` + pkg=`basename $dir` + category=`cat $dir/CATEGORY` + slot=`cat $dir/SLOT` + + tobuild=">=$category/$pkg:$slot $tobuild" + tobuildstr="\">=$category/$pkg:$slot\" $tobuildstr" +done + +if [ "$tobuild" = "" ] ; then + echo "Nothing to do!" + exit 0 +fi + +echo Building $tobuildstr + +if [ $pretend -eq 1 ] +then + $emerge --pretend $@ $tobuild +else + $emerge --oneshot $@ $tobuild +fi diff --git a/dev-lang/ocaml/files/ocaml.conf b/dev-lang/ocaml/files/ocaml.conf new file mode 100644 index 0000000..083b8ce --- /dev/null +++ b/dev-lang/ocaml/files/ocaml.conf @@ -0,0 +1,5 @@ +# Rebuild all ocaml modules (must be rebuilt after each ocaml upgrade) +[ocaml-rebuild] +class = portage.sets.dbapi.OwnerSet +files = /usr/lib/ocaml +exclude-files = /usr/bin/ocaml diff --git a/dev-lang/ocaml/metadata.xml b/dev-lang/ocaml/metadata.xml new file mode 100644 index 0000000..2193d77 --- /dev/null +++ b/dev-lang/ocaml/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ml</herd> +</pkgmetadata> diff --git a/dev-lang/ocaml/ocaml-3.11.2.ebuild b/dev-lang/ocaml/ocaml-3.11.2.ebuild new file mode 100644 index 0000000..be4f088 --- /dev/null +++ b/dev-lang/ocaml/ocaml-3.11.2.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.11.2.ebuild,v 1.9 2014/01/18 13:12:48 gienah Exp $ + +EAPI="1" + +inherit flag-o-matic eutils multilib versionator toolchain-funcs + +PATCHLEVEL="1" +MY_P="${P/_/+}" +DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family" +HOMEPAGE="http://www.ocaml.org/" +SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.bz2 + mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" + +LICENSE="QPL-1.0 LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="emacs gdbm latex ncurses +ocamlopt tk X xemacs" + +RDEPEND="tk? ( >=dev-lang/tk-3.3.3 ) + ncurses? ( sys-libs/ncurses ) + X? ( x11-libs/libX11 x11-proto/xproto ) + gdbm? ( sys-libs/gdbm )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PDEPEND="emacs? ( app-emacs/ocaml-mode ) + xemacs? ( app-xemacs/ocaml )" + +S="${WORKDIR}/${MY_P}" +pkg_setup() { + # dev-lang/ocaml creates its own objects but calls gcc for linking, which will + # results in relocations if gcc wants to create a PIE executable + if gcc-specs-pie ; then + append-ldflags -nopie + ewarn "Ocaml generates its own native asm, you're using a PIE compiler" + ewarn "We have appended -nopie to ocaml build options" + ewarn "because linking an executable with pie while the objects are not pic will not work" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" + # Bug #459512 + epatch "${FILESDIR}/${PN}-4.01.0-pkg-config-ncurses.patch" + # Upstream bug: http://caml.inria.fr/mantis/view.php?id=5237 + epatch "${FILESDIR}/${PN}-3.11.2-Fix-ocamlopt-w.r.t.-binutils-2.21.patch" +} + +src_compile() { + export LC_ALL=C + local myconf="" + + # Causes build failures because it builds some programs with -pg, + # bug #270920 + filter-flags -fomit-frame-pointer + # Bug #285993 + filter-mfpmath sse + + # It doesn't compile on alpha without this LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + # Fails to build on arm if >O0 is used + use arm && replace-flags "-O?" -O0 + + use tk || myconf="${myconf} -no-tk" + use ncurses || myconf="${myconf} -no-curses" + use X || myconf="${myconf} -no-graph" + use gdbm || myconf="${myconf} -no-dbm" + + # ocaml uses a home-brewn configure script, preventing it to use econf. + RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix /usr \ + --bindir /usr/bin \ + --libdir /usr/$(get_libdir)/ocaml \ + --mandir /usr/share/man \ + -host "${CHOST}" \ + -cc "$(tc-getCC)" \ + -as "$(tc-getAS)" \ + -aspp "$(tc-getCC) -c" \ + -partialld "$(tc-getLD) -r" \ + --with-pthread ${myconf} || die "configure failed!" + + emake -j1 world || die "make world failed!" + + # Native code generation can be disabled now + if use ocamlopt ; then + # bug #279968 + emake -j1 opt || die "make opt failed!" + emake -j1 opt.opt || die "make opt.opt failed!" + fi +} + +src_install() { + make BINDIR="${D}"/usr/bin \ + LIBDIR="${D}"/usr/$(get_libdir)/ocaml \ + MANDIR="${D}"/usr/share/man \ + install || die "make install failed!" + + # Install the compiler libs + dodir /usr/$(get_libdir)/ocaml/compiler-libs + insinto /usr/$(get_libdir)/ocaml/compiler-libs + doins {utils,typing,parsing}/*.{mli,cmi,cmo} + use ocamlopt && doins {utils,typing,parsing}/*.{cmx,o} + + # Symlink the headers to the right place + dodir /usr/include + dosym /usr/$(get_libdir)/ocaml/caml /usr/include/ + + # Remove ${D} from ld.conf, as the buildsystem isn't $(DESTDIR) aware + dosed "s:${D}::g" /usr/$(get_libdir)/ocaml/ld.conf + + dodoc Changes INSTALL README Upgrading + + # Create and envd entry for latex input files (this definitely belongs into + # CONTENT and not in pkg_postinst. + if use latex ; then + echo "TEXINPUTS=/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc + doenvd "${T}"/99ocamldoc + fi + + # Install ocaml-rebuild.sh script rather than keeping it in $PORTDIR + dosbin "${FILESDIR}/ocaml-rebuild.sh" +} + +pkg_postinst() { + echo + ewarn "OCaml is not binary compatible from version to version, so you" + ewarn "need to rebuild all packages depending on it, that are actually" + ewarn "installed on your system. To do so, you can run:" + ewarn "/usr/sbin/ocaml-rebuild.sh [-h | emerge options]" + ewarn "Which will call emerge on all old packages with the given options" + echo +} diff --git a/dev-lang/ocaml/ocaml-3.12.1.ebuild b/dev-lang/ocaml/ocaml-3.12.1.ebuild new file mode 100644 index 0000000..88f14d8 --- /dev/null +++ b/dev-lang/ocaml/ocaml-3.12.1.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.12.1.ebuild,v 1.12 2014/01/18 13:12:48 gienah Exp $ + +EAPI="1" + +inherit flag-o-matic eutils multilib versionator toolchain-funcs + +PATCHLEVEL="3" +MY_P="${P/_/+}" +DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family" +HOMEPAGE="http://www.ocaml.org/" +SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.bz2 + mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" + +LICENSE="QPL-1.0 LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="emacs gdbm latex ncurses +ocamlopt tk X xemacs" + +RDEPEND="tk? ( >=dev-lang/tk-3.3.3 ) + ncurses? ( sys-libs/ncurses ) + X? ( x11-libs/libX11 x11-proto/xproto ) + gdbm? ( sys-libs/gdbm )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PDEPEND="emacs? ( app-emacs/ocaml-mode ) + xemacs? ( app-xemacs/ocaml )" + +S="${WORKDIR}/${MY_P}" +pkg_setup() { + # dev-lang/ocaml creates its own objects but calls gcc for linking, which will + # results in relocations if gcc wants to create a PIE executable + if gcc-specs-pie ; then + append-ldflags -nopie + ewarn "Ocaml generates its own native asm, you're using a PIE compiler" + ewarn "We have appended -nopie to ocaml build options" + ewarn "because linking an executable with pie while the objects are not pic will not work" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" + # Bug #459512 + epatch "${FILESDIR}/${PN}-4.01.0-pkg-config-ncurses.patch" +} + +src_compile() { + export LC_ALL=C + local myconf="" + + # Causes build failures because it builds some programs with -pg, + # bug #270920 + filter-flags -fomit-frame-pointer + # Bug #285993 + filter-mfpmath sse + + # It doesn't compile on alpha without this LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + + use tk || myconf="${myconf} -no-tk" + use ncurses || myconf="${myconf} -no-curses" + use X || myconf="${myconf} -no-graph" + use gdbm || myconf="${myconf} -no-dbm" + + # ocaml uses a home-brewn configure script, preventing it to use econf. + RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix /usr \ + --bindir /usr/bin \ + --libdir /usr/$(get_libdir)/ocaml \ + --mandir /usr/share/man \ + -host "${CHOST}" \ + -cc "$(tc-getCC)" \ + -as "$(tc-getAS)" \ + -aspp "$(tc-getCC) -c" \ + -partialld "$(tc-getLD) -r" \ + --with-pthread ${myconf} || die "configure failed!" + + emake -j1 world || die "make world failed!" + + # Native code generation can be disabled now + if use ocamlopt ; then + # bug #279968 + emake -j1 opt || die "make opt failed!" + emake -j1 opt.opt || die "make opt.opt failed!" + fi +} + +src_install() { + make BINDIR="${D}"/usr/bin \ + LIBDIR="${D}"/usr/$(get_libdir)/ocaml \ + MANDIR="${D}"/usr/share/man \ + install || die "make install failed!" + + # Install the compiler libs + dodir /usr/$(get_libdir)/ocaml/compiler-libs + insinto /usr/$(get_libdir)/ocaml/compiler-libs + doins {utils,typing,parsing}/*.{mli,cmi,cmo} + use ocamlopt && doins {utils,typing,parsing}/*.{cmx,o} + + # Symlink the headers to the right place + dodir /usr/include + dosym /usr/$(get_libdir)/ocaml/caml /usr/include/ + + # Remove ${D} from ld.conf, as the buildsystem isn't $(DESTDIR) aware + dosed "s:${D}::g" /usr/$(get_libdir)/ocaml/ld.conf + + dodoc Changes INSTALL README Upgrading + + # Create and envd entry for latex input files (this definitely belongs into + # CONTENT and not in pkg_postinst. + if use latex ; then + echo "TEXINPUTS=/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc + doenvd "${T}"/99ocamldoc + fi + + # Install ocaml-rebuild portage set + insinto /usr/share/portage/config/sets + doins "${FILESDIR}/ocaml.conf" || die +} + +pkg_postinst() { + echo + ewarn "OCaml is not binary compatible from version to version, so you" + ewarn "need to rebuild all packages depending on it, that are actually" + ewarn "installed on your system. To do so, you can run:" + ewarn "emerge @ocaml-rebuild" + ewarn "Or, (almost) equivalently: emerge -1 /usr/$(get_libdir)/ocaml" + echo +} diff --git a/dev-lang/ocaml/ocaml-4.01.0.ebuild b/dev-lang/ocaml/ocaml-4.01.0.ebuild new file mode 100644 index 0000000..d6276db --- /dev/null +++ b/dev-lang/ocaml/ocaml-4.01.0.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-4.01.0.ebuild,v 1.3 2014/01/18 13:12:48 gienah Exp $ + +EAPI="5" + +inherit flag-o-matic eutils multilib versionator toolchain-funcs + +PATCHLEVEL="6" +MY_P="${P/_/+}" +DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family" +HOMEPAGE="http://www.ocaml.org/" +SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.bz2 + mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" + +LICENSE="QPL-1.0 LGPL-2" +# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt, +# so here we go with the subslot. +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux" +IUSE="emacs latex ncurses +ocamlopt tk X xemacs" + +RDEPEND="tk? ( >=dev-lang/tk-3.3.3 ) + ncurses? ( sys-libs/ncurses ) + X? ( x11-libs/libX11 x11-proto/xproto )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PDEPEND="emacs? ( app-emacs/ocaml-mode ) + xemacs? ( app-xemacs/ocaml )" + +S="${WORKDIR}/${MY_P}" +pkg_setup() { + # dev-lang/ocaml creates its own objects but calls gcc for linking, which will + # results in relocations if gcc wants to create a PIE executable + if gcc-specs-pie ; then + append-ldflags -nopie + ewarn "Ocaml generates its own native asm, you're using a PIE compiler" + ewarn "We have appended -nopie to ocaml build options" + ewarn "because linking an executable with pie while the objects are not pic will not work" + fi +} + +src_prepare() { + EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" + # Bug #459512 + epatch "${FILESDIR}/${PN}-4.01.0-pkg-config-ncurses.patch" +} + +src_configure() { + export LC_ALL=C + local myconf="" + + # Causes build failures because it builds some programs with -pg, + # bug #270920 + filter-flags -fomit-frame-pointer + # Bug #285993 + filter-mfpmath sse + + # It doesn't compile on alpha without this LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + + use tk || myconf="${myconf} -no-tk" + use ncurses || myconf="${myconf} -no-curses" + use X || myconf="${myconf} -no-graph" + + # ocaml uses a home-brewn configure script, preventing it to use econf. + RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix "${EPREFIX}"/usr \ + --bindir "${EPREFIX}"/usr/bin \ + --libdir "${EPREFIX}"/usr/$(get_libdir)/ocaml \ + --mandir "${EPREFIX}"/usr/share/man \ + -host "${CHOST}" \ + -cc "$(tc-getCC)" \ + -as "$(tc-getAS)" \ + -aspp "$(tc-getCC) -c" \ + -partialld "$(tc-getLD) -r" \ + --with-pthread ${myconf} || die "configure failed!" + + # http://caml.inria.fr/mantis/view.php?id=4698 + export CCLINKFLAGS="${LDFLAGS}" +} + +src_compile() { + emake -j1 world + + # Native code generation can be disabled now + if use ocamlopt ; then + # bug #279968 + emake -j1 opt + emake -j1 opt.opt + fi +} + +src_install() { + make BINDIR="${ED}"/usr/bin \ + LIBDIR="${ED}"/usr/$(get_libdir)/ocaml \ + MANDIR="${ED}"/usr/share/man \ + install + + # Symlink the headers to the right place + dodir /usr/include + dosym /usr/$(get_libdir)/ocaml/caml /usr/include/caml + + dodoc Changes INSTALL README + + # Create and envd entry for latex input files + if use latex ; then + echo "TEXINPUTS=${EPREFIX}/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc + doenvd "${T}"/99ocamldoc + fi + + # Install ocaml-rebuild portage set + insinto /usr/share/portage/config/sets + doins "${FILESDIR}/ocaml.conf" +} + +pkg_postinst() { + echo + ewarn "OCaml is not binary compatible from version to version, so you" + ewarn "need to rebuild all packages depending on it, that are actually" + ewarn "installed on your system. To do so, you can run:" + if has_version '>=sys-apps/portage-2.2' ; then + ewarn "emerge @ocaml-rebuild" + else + ewarn "emerge -1 ${EROOT%/}/usr/$(get_libdir)/ocaml" + fi + echo +} diff --git a/dev-lang/ocaml/ocaml-4.02.1.ebuild b/dev-lang/ocaml/ocaml-4.02.1.ebuild new file mode 100644 index 0000000..6d56b69 --- /dev/null +++ b/dev-lang/ocaml/ocaml-4.02.1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-4.02.1.ebuild,v 1.2 2014/12/01 16:33:19 aballier Exp $ + +EAPI="5" + +inherit flag-o-matic eutils multilib versionator toolchain-funcs + +PATCHLEVEL="6" +MY_P="${P/_/+}" +DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family" +HOMEPAGE="http://www.ocaml.org/" +SRC_URI="http://caml.inria.fr/pub/distrib/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.xz + mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" + +LICENSE="QPL-1.0 LGPL-2" +# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt, +# so here we go with the subslot. +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux" +IUSE="emacs latex ncurses +ocamlopt X xemacs" + +RDEPEND=" + ncurses? ( sys-libs/ncurses ) + X? ( x11-libs/libX11 x11-proto/xproto )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PDEPEND="emacs? ( app-emacs/ocaml-mode ) + xemacs? ( app-xemacs/ocaml )" + +S="${WORKDIR}/${MY_P}" +pkg_setup() { + # dev-lang/ocaml creates its own objects but calls gcc for linking, which will + # results in relocations if gcc wants to create a PIE executable + if gcc-specs-pie ; then + append-ldflags -nopie + ewarn "Ocaml generates its own native asm, you're using a PIE compiler" + ewarn "We have appended -nopie to ocaml build options" + ewarn "because linking an executable with pie while the objects are not pic will not work" + fi +} + +src_prepare() { + EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" +} + +src_configure() { + export LC_ALL=C + local myconf="" + + # Causes build failures because it builds some programs with -pg, + # bug #270920 + filter-flags -fomit-frame-pointer + # Bug #285993 + filter-mfpmath sse + + # It doesn't compile on alpha without this LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + + use ncurses || myconf="${myconf} -no-curses" + use X || myconf="${myconf} -no-graph" + + # ocaml uses a home-brewn configure script, preventing it to use econf. + RAW_LDFLAGS="$(raw-ldflags)" ./configure \ + --prefix "${EPREFIX}"/usr \ + --bindir "${EPREFIX}"/usr/bin \ + --libdir "${EPREFIX}"/usr/$(get_libdir)/ocaml \ + --mandir "${EPREFIX}"/usr/share/man \ + -target "${CHOST}" \ + -host "${CBUILD}" \ + -cc "$(tc-getCC)" \ + -as "$(tc-getAS)" \ + -aspp "$(tc-getCC) -c" \ + -partialld "$(tc-getLD) -r" \ + --with-pthread ${myconf} || die "configure failed!" + + # http://caml.inria.fr/mantis/view.php?id=4698 + export CCLINKFLAGS="${LDFLAGS}" +} + +src_compile() { + emake world + + # Native code generation can be disabled now + if use ocamlopt ; then + # bug #279968 + emake opt + emake opt.opt + fi +} + +src_install() { + emake BINDIR="${ED}"/usr/bin \ + LIBDIR="${ED}"/usr/$(get_libdir)/ocaml \ + MANDIR="${ED}"/usr/share/man \ + install + + # Symlink the headers to the right place + dodir /usr/include + dosym /usr/$(get_libdir)/ocaml/caml /usr/include/caml + + dodoc Changes INSTALL README + + # Create and envd entry for latex input files + if use latex ; then + echo "TEXINPUTS=${EPREFIX}/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc + doenvd "${T}"/99ocamldoc + fi + + # Install ocaml-rebuild portage set + insinto /usr/share/portage/config/sets + doins "${FILESDIR}/ocaml.conf" +} |