Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/ocaml: ChangeLog ocaml-3.11.1.ebuild
Date: Sat, 20 Jun 2009 16:13:00
Message-Id: E1MI3Ba-0008IY-Me@stork.gentoo.org
1 aballier 09/06/20 16:12:58
2
3 Modified: ChangeLog ocaml-3.11.1.ebuild
4 Log:
5 use CHOST prefixed toolchain for building, this does not give us cross compile support though
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.168 dev-lang/ocaml/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ocaml/ChangeLog?rev=1.168&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ocaml/ChangeLog?rev=1.168&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ocaml/ChangeLog?r1=1.167&r2=1.168
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v
18 retrieving revision 1.167
19 retrieving revision 1.168
20 diff -u -r1.167 -r1.168
21 --- ChangeLog 20 Jun 2009 14:54:57 -0000 1.167
22 +++ ChangeLog 20 Jun 2009 16:12:58 -0000 1.168
23 @@ -1,6 +1,10 @@
24 # ChangeLog for dev-lang/ocaml
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.167 2009/06/20 14:54:57 aballier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.168 2009/06/20 16:12:58 aballier Exp $
28 +
29 + 20 Jun 2009; Alexis Ballier <aballier@g.o> ocaml-3.11.1.ebuild:
30 + use CHOST prefixed toolchain for building, this does not give us cross
31 + compile support though
32
33 20 Jun 2009; Alexis Ballier <aballier@g.o>
34 -files/ocaml-3.11.0_beta1-configure.patch,
35
36
37
38 1.3 dev-lang/ocaml/ocaml-3.11.1.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ocaml/ocaml-3.11.1.ebuild?rev=1.3&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ocaml/ocaml-3.11.1.ebuild?rev=1.3&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ocaml/ocaml-3.11.1.ebuild?r1=1.2&r2=1.3
43
44 Index: ocaml-3.11.1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.11.1.ebuild,v
47 retrieving revision 1.2
48 retrieving revision 1.3
49 diff -u -r1.2 -r1.3
50 --- ocaml-3.11.1.ebuild 20 Jun 2009 14:54:57 -0000 1.2
51 +++ ocaml-3.11.1.ebuild 20 Jun 2009 16:12:58 -0000 1.3
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.11.1.ebuild,v 1.2 2009/06/20 14:54:57 aballier Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.11.1.ebuild,v 1.3 2009/06/20 16:12:58 aballier Exp $
57
58 EAPI="1"
59
60 @@ -47,7 +47,7 @@
61
62 src_compile() {
63 export LC_ALL=C
64 - local myconf="--host ${CHOST}"
65 + local myconf=""
66
67 # It doesn't compile on alpha without this LDFLAGS
68 use alpha && append-ldflags "-Wl,--no-relax"
69 @@ -62,6 +62,10 @@
70 --bindir /usr/bin \
71 --libdir /usr/$(get_libdir)/ocaml \
72 --mandir /usr/share/man \
73 + -host "${CHOST}" \
74 + -cc "$(tc-getCC)" \
75 + -as "$(tc-getAS)" \
76 + -aspp "$(tc-getCC) -c" \
77 --with-pthread ${myconf} || die "configure failed!"
78
79 make world || die "make world failed!"