diff options
author | Matthieu Sozeau <mattam@gentoo.org> | 2004-08-08 07:53:45 +0000 |
---|---|---|
committer | Matthieu Sozeau <mattam@gentoo.org> | 2004-08-08 07:53:45 +0000 |
commit | a4e523e8f355c2e502cc7ab3e1370ddcd69b8bd7 (patch) | |
tree | f9ef1c9c5f40ade865049045806f9f78d1f12826 /dev-lang/ocaml | |
parent | Prepare for ocaml-3.08 bump. (diff) | |
download | historical-a4e523e8f355c2e502cc7ab3e1370ddcd69b8bd7.tar.gz historical-a4e523e8f355c2e502cc7ab3e1370ddcd69b8bd7.tar.bz2 historical-a4e523e8f355c2e502cc7ab3e1370ddcd69b8bd7.zip |
Version bump.
Diffstat (limited to 'dev-lang/ocaml')
-rw-r--r-- | dev-lang/ocaml/ChangeLog | 29 | ||||
-rw-r--r-- | dev-lang/ocaml/Manifest | 6 | ||||
-rw-r--r-- | dev-lang/ocaml/files/digest-ocaml-3.08 | 1 | ||||
-rw-r--r-- | dev-lang/ocaml/ocaml-3.08.ebuild | 71 |
4 files changed, 93 insertions, 14 deletions
diff --git a/dev-lang/ocaml/ChangeLog b/dev-lang/ocaml/ChangeLog index ab3c0f5ae2cf..74c4b5834c3e 100644 --- a/dev-lang/ocaml/ChangeLog +++ b/dev-lang/ocaml/ChangeLog @@ -1,19 +1,11 @@ # ChangeLog for dev-lang/ocaml # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.39 2004/07/27 13:14:34 alexander Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.40 2004/08/08 07:53:44 mattam Exp $ - 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 )) +*ocaml-3.08 (08 Aug 2004) - 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 + 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: @@ -39,6 +31,19 @@ Philippe Bouamriou for bug #57917 )) 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 diff --git a/dev-lang/ocaml/Manifest b/dev-lang/ocaml/Manifest index 1e7e09428ea4..99b7f22a1ef5 100644 --- a/dev-lang/ocaml/Manifest +++ b/dev-lang/ocaml/Manifest @@ -1,10 +1,12 @@ -MD5 b692a2fa3ee17cb947eb89c1dcb43cbd ChangeLog 6784 +MD5 d3109bd8d52604b97f98cf9e203f3707 ChangeLog 6898 MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155 MD5 5caaff592069914b134a83a6752ec138 ocaml-3.06-r2.ebuild 1543 MD5 64432ef54108899425565cf0a88cba54 ocaml-3.07-r1.ebuild 2473 +MD5 e80d49edf0616c356a022ad7cbdaf07c ocaml-3.08.ebuild 1769 +MD5 d996b9a852fbfcb0c2d9bddb4896add2 files/ocaml-rebuild.sh 1228 +MD5 77519cb4017543f060a963387b593299 files/digest-ocaml-3.08 65 MD5 13c4abf06e236e8835011a387f90ecc9 files/digest-ocaml-3.06-r2 63 MD5 c42de320103c2d3eb1aa4002e2e0716b files/digest-ocaml-3.07-r1 130 MD5 91579cecf8659312c2324d8d40709433 files/ocaml-3.06-sparc-configure.patch 1660 MD5 4df214d6cd74b3c5955d868879dd6cc7 files/ocaml-3.06-tcltk-8.4compat-patch.bz2 639 MD5 45ff13419dd955aa86d021abbf325fc2 files/ocaml-3.07-hppa.patch 15730 -MD5 d996b9a852fbfcb0c2d9bddb4896add2 files/ocaml-rebuild.sh 1228 diff --git a/dev-lang/ocaml/files/digest-ocaml-3.08 b/dev-lang/ocaml/files/digest-ocaml-3.08 new file mode 100644 index 000000000000..6b524fc89bd8 --- /dev/null +++ b/dev-lang/ocaml/files/digest-ocaml-3.08 @@ -0,0 +1 @@ +MD5 c6ef478362295c150101cdd2efcd38e0 ocaml-3.08.0.tar.gz 2458425 diff --git a/dev-lang/ocaml/ocaml-3.08.ebuild b/dev-lang/ocaml/ocaml-3.08.ebuild new file mode 100644 index 000000000000..b9831707c267 --- /dev/null +++ b/dev-lang/ocaml/ocaml-3.08.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.08.ebuild,v 1.1 2004/08/08 07:53:44 mattam Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="fast modern type-inferring functional programming language descended from the ML (Meta Language) family" +HOMEPAGE="http://www.ocaml.org/" + +SRC_URI="http://caml.inria.fr/distrib/ocaml-3.08/${P}.0.tar.gz" + +LICENSE="QPL-1.0 LGPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc ~alpha ~ia64 ~amd64 ~hppa ~macos" +IUSE="tcltk" + +DEPEND="virtual/libc + tcltk? ( >=dev-lang/tk-3.3.3 )" + +S="${WORKDIR}/${P}.0" + +src_compile() { + filter-flags "-fstack-protector" + + local myconf + use tcltk || 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/lib/ocaml \ + -mandir /usr/share/man \ + --with-pthread ${myconf} || die + + make world || die + make opt || die + make opt.opt || die +} + +src_install() { + make BINDIR=${D}/usr/bin \ + LIBDIR=${D}/usr/lib/ocaml \ + MANDIR=${D}/usr/share/man \ + install || die + + # silly, silly makefiles + dosed "s:${D}::g" /usr/lib/ocaml/ld.conf + + # documentation + dodoc Changes INSTALL LICENSE README Upgrading +} + +pkg_postinst() { + ranlib /usr/lib/ocaml/*.a + + echo + einfo "OCaml is not binary compatible from version to version," + einfo "so you (may) need to rebuild all packages depending on it that" + einfo "are actually installed on your system." + einfo "To do so, you can run: " + einfo "sh ${FILESDIR}/ocaml-rebuild.sh [-h | emerge options]" + einfo "Which will call emerge on all old packages with the given options" + echo +} |