Version bump, remove unused one and stabilize the previous version on x86 and amd64.
authorMatthieu Sozeau <mattam@gentoo.org>
Wed, 21 Sep 2005 21:54:25 +0000 (21:54 +0000)
committerMatthieu Sozeau <mattam@gentoo.org>
Wed, 21 Sep 2005 21:54:25 +0000 (21:54 +0000)
Package-Manager: portage-2.0.51.22-r1

dev-lang/ocaml/ChangeLog
dev-lang/ocaml/Manifest
dev-lang/ocaml/files/digest-ocaml-3.08 [deleted file]
dev-lang/ocaml/files/digest-ocaml-3.08.4 [new file with mode: 0644]
dev-lang/ocaml/ocaml-3.08.3.ebuild
dev-lang/ocaml/ocaml-3.08.4.ebuild [moved from dev-lang/ocaml/ocaml-3.08.ebuild with 69% similarity]

index 878d957f9d9de920fee73e7da5fb489fca9c9c6e..f757c738a251a97491938dee59106f385b3eb4c7 100644 (file)
@@ -1,7 +1,14 @@
 # ChangeLog for dev-lang/ocaml
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.66 2005/09/17 20:05:57 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.67 2005/09/21 21:54:25 mattam Exp $
 
+*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
 
index ce6dc9a0e3723659690703ef027549a1d19be17f..5403611d2e62c5fca529ceb1dc5842ebfa64f160 100644 (file)
@@ -1,27 +1,17 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155
+MD5 bb0280c1488876d0f60625ef9ee36c51 ocaml-3.08.4.ebuild 2492
+MD5 e3554fd0d2b4cbd09694d68ca3edb0d8 ocaml-3.08.1.ebuild 2149
 MD5 d3e28c5c99b056007b6b5b0781a4e542 ocaml-3.06-r2.ebuild 1660
 MD5 ef7cc12a4ff8aeec9ddb58ff65f7e3c0 ocaml-3.07-r1.ebuild 2910
-MD5 e3554fd0d2b4cbd09694d68ca3edb0d8 ocaml-3.08.1.ebuild 2149
-MD5 dc193a50e4ae4c9ddb5222354d7ed935 ocaml-3.08.3.ebuild 2295
-MD5 ede360aa66fcf54120c19798f0421e61 ocaml-3.08.ebuild 2209
-MD5 2852db5cd542dd78e85d6da0f824f301 ChangeLog 10294
+MD5 afba96a74b349a0bc8a7f420358d3ad2 ocaml-3.08.3.ebuild 2291
+MD5 fca42f2cc3e0252eb7e7819c5d3ffb4b ChangeLog 10524
+MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155
+MD5 4df214d6cd74b3c5955d868879dd6cc7 files/ocaml-3.06-tcltk-8.4compat-patch.bz2 639
+MD5 3148840e70f4bb5263bdf7cd6c97e6d9 files/ocaml-rebuild.sh 1215
+MD5 c57fc46d92565b5d44c8c4f2a4a072d3 files/ocaml-3.08.3-gcc4.patch 710
 MD5 13c4abf06e236e8835011a387f90ecc9 files/digest-ocaml-3.06-r2 63
 MD5 c42de320103c2d3eb1aa4002e2e0716b files/digest-ocaml-3.07-r1 130
-MD5 77519cb4017543f060a963387b593299 files/digest-ocaml-3.08 65
+MD5 45ff13419dd955aa86d021abbf325fc2 files/ocaml-3.07-hppa.patch 15730
 MD5 3854a7d6aaedc7d5fde7239776cec5cf files/digest-ocaml-3.08.1 66
 MD5 d80f37fe859bc2ea8f71e13f02578275 files/digest-ocaml-3.08.3 66
+MD5 b15b12e756d7eb95981891617e694a7a files/digest-ocaml-3.08.4 66
 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 c57fc46d92565b5d44c8c4f2a4a072d3 files/ocaml-3.08.3-gcc4.patch 710
-MD5 3148840e70f4bb5263bdf7cd6c97e6d9 files/ocaml-rebuild.sh 1215
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDLHdFKf2g/qXtneoRAgKlAJ935f96OZWHW1ttCbR26mcS4hoY+wCfV9V5
-srH0WxA5AVLEbd6URWLVneM=
-=wMyd
------END PGP SIGNATURE-----
diff --git a/dev-lang/ocaml/files/digest-ocaml-3.08 b/dev-lang/ocaml/files/digest-ocaml-3.08
deleted file mode 100644 (file)
index 6b524fc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c6ef478362295c150101cdd2efcd38e0 ocaml-3.08.0.tar.gz 2458425
diff --git a/dev-lang/ocaml/files/digest-ocaml-3.08.4 b/dev-lang/ocaml/files/digest-ocaml-3.08.4
new file mode 100644 (file)
index 0000000..877897a
--- /dev/null
@@ -0,0 +1 @@
+MD5 96b8edeb6190d9f15c086c7decd277a9 ocaml-3.08.4.tar.bz2 2054019
index d9732e097212a1d2abc69b99dc553cb63bde04d8..f6b53d966263b18cdfd694d9f3f9c7d64e90ddac 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.08.3.ebuild,v 1.6 2005/09/17 00:35:27 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.08.3.ebuild,v 1.7 2005/09/21 21:54:25 mattam Exp $
 
 inherit flag-o-matic eutils multilib
 
@@ -11,7 +11,7 @@ SRC_URI="http://caml.inria.fr/distrib/ocaml-3.08/${P}.tar.bz2"
 
 LICENSE="QPL-1.0 LGPL-2"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~hppa ia64 ppc ~ppc-macos ~sparc ~x86"
+KEYWORDS="alpha ~amd64 ~hppa ia64 ppc ppc-macos ~sparc x86"
 IUSE="tcltk latex"
 
 DEPEND="virtual/libc
similarity index 69%
rename from dev-lang/ocaml/ocaml-3.08.ebuild
rename to dev-lang/ocaml/ocaml-3.08.4.ebuild
index d5b5fdbf42ddc65bea8158580de335fa6d2ff9a0..e5af01e9be926c21bf373116b607004995ccb9a8 100644 (file)
@@ -1,28 +1,27 @@
 # Copyright 1999-2005 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.12 2005/03/19 19:40:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.08.4.ebuild,v 1.1 2005/09/21 21:54:25 mattam Exp $
 
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils multilib
 
 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"
+SRC_URI="http://caml.inria.fr/distrib/ocaml-3.08/${P}.tar.bz2"
 
 LICENSE="QPL-1.0 LGPL-2"
 SLOT="0"
-KEYWORDS="~x86 ~sparc ~ppc ~alpha ~ia64 amd64 hppa ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc-macos ~sparc ~x86"
 IUSE="tcltk latex"
 
 DEPEND="virtual/libc
        tcltk? ( >=dev-lang/tk-3.3.3 )"
 
-S="${WORKDIR}/${P}.0"
-
 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
 }
 
@@ -43,7 +42,7 @@ src_compile() {
 
        ./configure -prefix /usr \
                -bindir /usr/bin \
-               -libdir /usr/lib/ocaml \
+               -libdir /usr/$(get_libdir)/ocaml \
                -mandir /usr/share/man \
                --with-pthread ${myconf} || die
 
@@ -57,22 +56,29 @@ src_compile() {
 
 src_install() {
        make BINDIR=${D}/usr/bin \
-               LIBDIR=${D}/usr/lib/ocaml \
+               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/lib/ocaml/ld.conf
+       dosed "s:${D}::g" /usr/$(get_libdir)/ocaml/ld.conf
 
        # documentation
        dodoc Changes INSTALL LICENSE README Upgrading
 }
 
 pkg_postinst() {
-       ranlib /usr/lib/ocaml/*.a
-
        if use latex; then
-               echo "TEXINPUTS=/usr/lib/ocaml/ocamldoc:" > /etc/env.d/99ocamldoc
+               echo "TEXINPUTS=/usr/$(get_libdir)/ocaml/ocamldoc:" > /etc/env.d/99ocamldoc
        fi
 
        echo