Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-lang/ocaml
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.148 2008/06/16 19:44:37 aballier Exp $
16 Jun 2008; Alexis Ballier
ocaml-3.10.2.ebuild:
shorten description to please repoman
16 Jun 2008; Alexis Ballier
-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
alpha/ia64/sparc stable wrt #224893
08 Jun 2008; Kenneth Prugh
amd64 stable, bug #224893
07 Jun 2008; Alexis Ballier
Tune up a bit ocaml-rebuild.sh so that it does not give syntax errors on
non integer slots.
07 Jun 2008; nixnut
Stable on ppc wrt bug 224893
07 Jun 2008; Jeroen Roovers
Stable for HPPA (bug #224893).
05 Jun 2008; Christian Faulhammer
stable x86, bug 224893
04 Jun 2008; Markus Rothe
Stable on ppc64; bug #224893
09 Mar 2008; Alexis Ballier
-ocaml-3.10.1.ebuild:
remove unused versions
09 Mar 2008; Alexis Ballier
+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
-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
+ocaml-3.10.2_rc1.ebuild:
bump release candidate under pmask
24 Feb 2008; Alexis Ballier
-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
-ocaml-3.10.1_rc2.ebuild, +ocaml-3.10.1.ebuild:
bump to final 3.10.1
03 Jan 2008; Alexis Ballier
ocaml-3.10.1_rc2.ebuild:
Allow to disable ocamlopt via an useflag
02 Jan 2008; Alexis Ballier
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
-ocaml-3.10.1_rc1.ebuild, +ocaml-3.10.1_rc2.ebuild:
bump to rc2
20 Dec 2007; Alexis Ballier
-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
+ocaml-3.10.1_rc1.ebuild:
Add ocaml 3.10.1 release candidate 1, for testing purposes
19 Dec 2007; Alexis Ballier
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
ocaml-3.09.2.ebuild, ocaml-3.09.3.ebuild:
quote directory variables
19 Dec 2007; Alexis Ballier
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
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
ocaml-3.10.0.ebuild:
Add app-emacs/ocaml-mode and app-xemacs/ocaml to PDEPEND, bug #43128.
15 Oct 2007; Markus Rothe
Stable on ppc64
12 Sep 2007; Raúl Porcel
Re-add forced LDFLAGS for alpha, since it still needs it
10 Sep 2007; Wulf C. Krueger
ocaml-3.09.3-r1.ebuild:
Marked stable on amd64 as requested by aballier.
23 Aug 2007; Alexis Ballier
fix usage of deprecated emerge unmerge in ocaml-rebuild.sh, thanks to Jack
Kelly
13 Aug 2007; Tobias Scherbaum
ocaml-3.09.3-r1.ebuild:
ppc. stable
22 Jul 2007; Jeroen Roovers
Stable for HPPA too.
12 Jul 2007; Gustavo Zacarias
ocaml-3.09.3-r1.ebuild:
Stable on sparc
11 Jul 2007; Raúl Porcel
alpha/ia64/x86 stable and drop append-ldflags for alpha, not needed anymore
26 May 2007; Raúl Porcel
ocaml-3.10.0.ebuild:
Add no-relax to LDFLAGS for alpha, and keyword latest version ~alpha
26 May 2007; Raúl Porcel
Readd ~alpha wrt #178256
26 May 2007; Alexis Ballier
+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
+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
Marked ~hppa (bug #178256).
15 May 2007; Alexis Ballier
+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
+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
Reverting ~hppa keywording due to build failure.
14 May 2007; Jeroen Roovers
Marked ~hppa (bug #178256).
13 May 2007; Raúl Porcel
Readd ~ia64 wrt bug 178256
12 May 2007; Alexis Ballier
+files/ocaml-3.09.3-automagic.patch, ocaml-3.09.3-r1.ebuild:
Fix X and gdbm automagics
12 May 2007; Alexis Ballier
Add ncurses useflag (was automagic)
12 May 2007; Alexis Ballier
files/ocaml-3.09.3-configure.patch:
Do not ignore cflags/ldflags for native compiler
12 May 2007; Alexis Ballier
Install ocaml-rebuild.sh in /usr/sbin rather than keeping it in PORTDIR, fix
bug #175668
11 May 2007; Alexis Ballier
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
-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
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
+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
Stable on ppc64
13 Mar 2007; Raúl Porcel
x86 stable
17 Feb 2007; Fabian Groffen
ocaml-3.08.4.ebuild:
Dropped ppc-macos keyword, see you in prefix
06 Feb 2007; Marius Mauch
ocaml-3.08.4.ebuild, ocaml-3.09.2.ebuild, ocaml-3.09.3.ebuild:
Replacing einfo with elog
14 Dec 2006; Timothy Redaelli
Add ~x86-fbsd keyword
03 Dec 2006; Markus Rothe
Stable on ppc64
07 Nov 2006; Alexandre Buisse
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
Marked stable on amd64.
04 Nov 2006; Christian Faulhammer
stabled x86, bug #153506
03 Nov 2006; Alexandre Buisse
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
Fix stupid quoting problem which was deleting the -host switch to configure
(bug #153738).
31 Oct 2006; Chris White
PPC stable for bug #153506.
20 Sep 2006; Alexandre Buisse
Add fix for finding correct arch in cases where kernel_arch != system_arch
(bug #135641).
14 Sep 2006; Matthieu Sozeau
Add a test for slots
12 Jul 2006; Gustavo Zacarias
Fast track stable on sparc since it fixes obvious issues
05 Jul 2006; Gustavo Zacarias
Keyworded ~sparc wrt #139014
16 Jun 2006; Scott Stoddard
Added ~amd64 re bug #126724
21 May 2006; Markus Rothe
Stable on ppc64
*ocaml-3.09.2 (27 Apr 2006)
27 Apr 2006; Matthieu Sozeau
Bug fix release 3.09.2.
18 Mar 2006; Markus Rothe
ocaml-3.08.4.ebuild, ocaml-3.09.1.ebuild:
Added ~ppc64
06 Feb 2006; Aron Griffis
Mark 3.08.4 stable on ia64
04 Feb 2006; Aron Griffis
Mark 3.08.4 stable on alpha
04 Feb 2006; Matthieu Sozeau
-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
+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
Stable on amd64, bug 106837.
19 Nov 2005; Rene Nussbaumer
Stable on hppa.
*ocaml-3.09.0 (10 Nov 2005)
10 Nov 2005; Matthieu Sozeau
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
Marked stable on SPARC wrt bug #106837.
16 Oct 2005; Rene Nussbaumer
Stable on hppa.
27 Sep 2005; Jason Wever
Stable on SPARC.
*ocaml-3.08.4 (21 Sep 2005)
21 Sep 2005; Matthieu Sozeau
+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
Mark 3.08.3 stable on ia64
10 Sep 2005; Aron Griffis
Mark 3.08.3 stable on alpha
26 Jul 2005; Matthieu Sozeau
Added gcc4 patch, thanks to Peter Hjalmarsson
#97186).
06 Jul 2005; Herbie Hopkins
Multilib fixes.
11 May 2005; Matthieu Sozeau
Stable on ppc.
01 Apr 2005; Simon Stelling
stable on amd64
01 Apr 2005; Aron Griffis
stable on ia64
*ocaml-3.08 (19 Mar 2005)
*ocaml-3.07-r1 (19 Mar 2005)
19 Mar 2005; Michael Sterrett
+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
-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
Stable on ppc.
04 Jan 2005; Guy Martin
Stable on hppa.
02 Jan 2005; Lina Pezzella
Stable ppc-macos
29 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
20 Dec 2004; Bryan Østergaard
Stable on alpha.
07 Dec 2004; Jason Wever
Stable on sparc.
*ocaml-3.08.2 (29 Nov 2004)
29 Nov 2004; Matthieu Sozeau
+ocaml-3.08.2.ebuild:
Move 3.08.1 to x86 and add 3.08.2 release.
20 Oct 2004; Matthieu Sozeau
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
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
stable on amd64
*ocaml-3.08.1 (19 Aug 2004)
19 Aug 2004; Matthieu Sozeau
Version bump.
18 Aug 2004; Matthieu Sozeau
ocaml-3.08.ebuild:
Add handling of CFLAGS, use with care!
16 Aug 2004; Guy Martin
Yay, my port to hppa-linux is in the mainstream ! Marking stable !
13 Aug 2004; Jason Wever
Stable on sparc.
08 Aug 2004; Matthieu Sozeau
Move 3.07 to stable on ppc.
08 Aug 2004; Matthieu Sozeau
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
Version bump.
21 Jul 2004; Matthieu Sozeau
ocaml-3.07-r1.ebuild:
Yet a little more robustness in the rebuild script.
21 Jul 2004; Matthieu Sozeau
Fixed bug in the rebuild script. see #56597.
13 Jul 2004; Travis Tilley
adding back ~amd64 keyword
06 Jul 2004; Matthieu Sozeau
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
ocaml-3.07-r1.ebuild:
Move to stable on x86, adding a rebuilding script.
01 Jul 2004; Jeremy Huddleston
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
change keyword from macos to ~macos (because of ranlib work)
26 Jun 2004; Alexander Plank
add ranlib bit to ebuild and rekeyword macos (i tested it with unison) (thanks
Philippe Bouamriou for bug #57917 ))
25 Jun 2004; Alexander Plank
~macos keyword (unison fails and cites ocaml problems)
25 Jun 2004; Alexander Plank
add macos keyword
28 May 2004; Danny van Dyk
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
Stable on alpha.
11 May 2004; Guy Martin
Marked stable on hppa.
08 May 2004; Guy Martin
Added support for native hppa compiler. Marked ~hppa.
22 Apr 2004; Matthieu Sozeau
Fix unpacking of patch file (bug #48485).
19 Apr 2004; Matthieu Sozeau
Add fix for bug #46703
17 Apr 2004; Travis Tilley
ocaml-3.07.ebuild:
added missing ~amd64 keyword
27 Feb 2004; Seemant Kulleen
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
add ~ia64
03 Feb 2004; Matthieu Sozeau
Mark stable/tested on ppc.
*ocaml-3.07-r1 (17 Oct 2003)
17 Oct 2003; Martin Holzer
Adding patch. Closes #31265.
06 Oct 2003; Jason Wever
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
3.07 is out, this outdates the beta that was fixing #28025
02 Oct 2003; Aron Griffis
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
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
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
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
updated the ebuild to incorporate the fix for tk-8.4 necessary for lablgl.
Thanks to Rick Harris
*ocaml-3.06 (28 Jan 2003)
11 Apr 2003; Joshua Brindle
ocaml-3.06.ebuild:
added filter-flags -fstack-protector
28 Jan 2003; Jon Nall
who made this build? i didn't. i just added ~ppc to it.
06 Dec 2002; Rodney Rees
*ocaml-3.05 (07 Aug 2002)
06 Aug 2002; George Shapovalov
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
?Larry Cow
*ocaml-3.04-r2 (01 Aug 2002)
02 Aug 2002; George Shapovalov
tk dependence is reported (by Tim Hobbs
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
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
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
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.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX ocaml-3.10.0-automagic.patch 1849 RMD160 6986c47d9d2d9bdaf246f3399ccc59a5751fe86d SHA1 d999c1023c5aa07316d8405fde6ebf3a1bcb2b9f SHA256 f959da02f8b31f3d1ad5b76426d493b50c87dc3a6241204470866a321ece40f9
AUX ocaml-3.10.0-call-ld-with-proper-ldflags.patch 1497 RMD160 7eef667019e79f2877836f77a31466f9d301725b SHA1 36d95fb8b05e7bbff8e5f49a8f1faec5f11f0c78 SHA256 13d6cc7401c8374327e438517975fe9abf1b99030bb3243f2adb91d12570bc8d
AUX ocaml-3.10.0-configure.patch 5644 RMD160 1a63847a6e632f59fef8ff448b96bc45da15eae5 SHA1 6a030e48dd5fc399b985dd99e21b6c0e6b95a12e SHA256 f42e11db2d184532aa561b0b117f7ce5850bb50981ea997d08eee34f826360ac
AUX ocaml-3.10.0-exec-stack-fixes.patch 9395 RMD160 00d5e1ac85a090baeaf9b9cba2e277c72bef5792 SHA1 15bc9692307f4781c3d01db7724869f7e9a401d7 SHA256 a260416a0fc1cf05ff3b2dceac83bd00043ee7ad6a8f2487934723f5b9f406da
AUX ocaml-3.10.2-tk85.patch 2414 RMD160 1b8dc94de1c90264684a300f5f31ffce02e94cec SHA1 98c7a48c167500d3e7d8c34e79124dc0cedc315d SHA256 ba539578fbec539ff481b5fc786612d5e85b01cc2d6eee22a2f9ed340d2d0fd3
AUX ocaml-rebuild.sh 1253 RMD160 c9a261dc50239cb3cf8ee890bf0fa314903421d9 SHA1 7cfe5d413de41b1ae3761903549c6cb9af9b02b2 SHA256 99abe161795c6b6c7b4a180e3cc850fee2d175f9123858883ae181cc96851cae
DIST ocaml-3.08.4.tar.bz2 2054019 RMD160 448ed9af56cacb9c32208d064e1c9732a2086bd2 SHA1 d9eb54611d24f9e1c33736f12c7ba87412057cbb SHA256 8d4322791d0dd424f355636ba50934ac17dbefde269736dad0da0683c8888684
DIST ocaml-3.10.2.tar.bz2 2284860 RMD160 f631230b090dbd9bf9a9f71631cd0347c033cbb1 SHA1 f604580bf2943891d8faf265eeb900bbe90abce0 SHA256 3755a32da1a7490d47fff7838c12c754d3fcfe69d7c9ff2358704259dc477c58
EBUILD ocaml-3.08.4.ebuild 2532 RMD160 4f76d197232320e0450b7c847dc0006c10ff165b SHA1 4ca95ee897d20abb813855194fbd3206baff5813 SHA256 8d0dfe01e1186149e6e545d8227796b6e7976c6d3e6cc04aa8262c3d574ef252
EBUILD ocaml-3.10.2.ebuild 4441 RMD160 8d6e3c32ccbefc7beeaadb6d41e7f099e0d6503d SHA1 408889f7a76d4fb85257ffd52b6df068a678a3af SHA256 a8edacd2182708ef3027434d2c9a1faa4c7e5fbb515d83bcf1edc3d8b6c49688
MISC ChangeLog 23372 RMD160 180f07838b01455d2b781a9ee2460ce3d0f42203 SHA1 2de61db207138cd6f580a277694ce7014a22f749 SHA256 77918fccca3ef9b1b3755deba10285ecdea957de2494f07e8c7429f5378b7e7d
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhWwu8ACgkQvFcC4BYPU0qwMgCgp2qXU+mqLqB2ve2BNu5k8yXk
cBwAniUzDwDEWzhaCJ70+8VP3EmLL4GZ
=AqFY
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.08.4.ebuild,v 1.19 2008/06/16 19:44:37 aballier Exp $
inherit flag-o-matic eutils multilib
DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family"
HOMEPAGE="http://www.ocaml.org/"
SRC_URI="http://caml.inria.fr/distrib/ocaml-3.08/${P}.tar.bz2"
LICENSE="QPL-1.0 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ~ppc64 -s390 sparc ~x86"
IUSE="tk latex"
DEPEND="tk? ( >=dev-lang/tk-3.3.3 )"
pkg_setup() {
ewarn
ewarn "Building ocaml with unsafe CFLAGS can have unexpected results"
ewarn "Please retry building with safer CFLAGS before reporting bugs"
ewarn "Likewise, building with a hardened gcc is not possible."
ewarn
}
src_compile() {
filter-flags "-fstack-protector"
replace-flags "-O?" -O2
local myconf
use tk || myconf="-no-tk"
# Fix for bug #23767.
if [ "${ARCH}" = "sparc" ]; then
myconf="${myconf} -host sparc-unknown-linux-gnu"
fi
# Fix for bug #46703
export LC_ALL=C
./configure -prefix /usr \
-bindir /usr/bin \
-libdir /usr/$(get_libdir)/ocaml \
-mandir /usr/share/man \
--with-pthread ${myconf} || die
sed -i -e "s/\(BYTECCCOMPOPTS=.*\)/\1 ${CFLAGS}/" config/Makefile
sed -i -e "s/\(NATIVECCCOMPOPTS=.*\)/\1 ${CFLAGS}/" config/Makefile
make world || die
# Native code generation unsupported on some archs
if ! use ppc64 ; then
make opt || die
make opt.opt || die
fi
}
src_install() {
make BINDIR="${D}/usr/bin" \
LIBDIR="${D}/usr/$(get_libdir)/ocaml" \
MANDIR="${D}/usr/share/man" \
install || die
# compiler libs
dodir /usr/lib/ocaml/compiler-libs
insinto /usr/lib/ocaml/compiler-libs
doins {utils,typing,parsing}/*.{mli,cmi,cmo,cmx,o}
# headers
dodir /usr/include
dosym /usr/include/caml /usr/lib/ocaml/caml
# silly, silly makefiles
dosed "s:${D}::g" /usr/$(get_libdir)/ocaml/ld.conf
# documentation
dodoc Changes INSTALL README Upgrading
}
pkg_postinst() {
if use latex; then
echo "TEXINPUTS=/usr/$(get_libdir)/ocaml/ocamldoc:" > /etc/env.d/99ocamldoc
fi
echo
elog "OCaml is not binary compatible from version to version,"
elog "so you (may) need to rebuild all packages depending on it that"
elog "are actually installed on your system."
elog "To do so, you can run: "
elog "sh '${FILESDIR}/ocaml-rebuild.sh' [-h | emerge options]"
elog "Which will call emerge on all old packages with the given options"
echo
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.10.2.ebuild,v 1.9 2008/06/16 19:44:37 aballier Exp $
inherit flag-o-matic eutils multilib versionator toolchain-funcs
EAPI="1"
MY_P="${P/_rc/+rc}"
DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family"
HOMEPAGE="http://www.ocaml.org/"
SRC_URI="http://caml.inria.fr/distrib/ocaml-$( get_version_component_range 1-2)/${MY_P}.tar.bz2"
LICENSE="QPL-1.0 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="emacs gdbm latex ncurses +ocamlopt tk X xemacs"
DEPEND="tk? ( >=dev-lang/tk-3.3.3 )
ncurses? ( sys-libs/ncurses )
X? ( x11-libs/libX11 x11-proto/xproto )
gdbm? ( sys-libs/gdbm )"
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}"
# Fix the EXEC_STACK in ocaml compiled binaries (#153382)
epatch "${FILESDIR}"/${PN}-3.10.0-exec-stack-fixes.patch
# The configure script doesn't inherit previous defined variables,
# overwriting previous declarations of bytecccompopts, bytecclinkopts,
# nativecccompopts and nativecclinkopts. Reported upstream as issue 0004267.
epatch "${FILESDIR}"/${PN}-3.10.0-configure.patch
# ocaml has automagics on libX11 and gdbm
# http://caml.inria.fr/mantis/view.php?id=4278
epatch "${FILESDIR}/${PN}-3.10.0-automagic.patch"
# Call ld with proper flags, different from gcc ones
# This happens when calling ocamlc -pack
# See comment in the patch
epatch "${FILESDIR}/${PN}-3.10.0-call-ld-with-proper-ldflags.patch"
# Adapted from mandriva to get labltk built with tk8.5
epatch "${FILESDIR}/${P}-tk85.patch"
}
src_compile() {
local myconf="--host ${CHOST}"
# dev-lang/ocaml tends to break/give unexpected results with "unsafe" CFLAGS.
strip-flags
replace-flags "-O?" -O2
# 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.
./configure -prefix /usr \
--bindir /usr/bin \
--libdir /usr/$(get_libdir)/ocaml \
--mandir /usr/share/man \
--with-pthread ${myconf} || die "configure failed!"
make world || die "make world failed!"
# Native code generation can be disabled now
if use ocamlopt ; then
make opt || die "make opt failed!"
make 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,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
}