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-ml/camlidl: camlidl-1.05.ebuild ChangeLog
Date: Thu, 03 Jan 2008 19:34:11
Message-Id: E1JAVpH-00071z-66@stork.gentoo.org
1 aballier 08/01/03 19:33:59
2
3 Modified: camlidl-1.05.ebuild ChangeLog
4 Log:
5 ocamlopt is required here, there is no option to disable it
6 (Portage version: 2.1.4_rc14)
7
8 Revision Changes Path
9 1.2 dev-ml/camlidl/camlidl-1.05.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild?r1=1.1&r2=1.2
14
15 Index: camlidl-1.05.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- camlidl-1.05.ebuild 25 Sep 2004 20:15:43 -0000 1.1
22 +++ camlidl-1.05.ebuild 3 Jan 2008 19:33:58 -0000 1.2
23 @@ -1,6 +1,8 @@
24 -# Copyright 1999-2004 Gentoo Foundation
25 +# Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild,v 1.1 2004/09/25 20:15:43 mattam Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild,v 1.2 2008/01/03 19:33:58 aballier Exp $
29 +
30 +inherit eutils
31
32 DESCRIPTION="CamlIDL is a stub code generator for using C/C++ libraries from O'Caml"
33 HOMEPAGE="http://caml.inria.fr/camlidl/"
34 @@ -11,6 +13,15 @@
35 IUSE=""
36 DEPEND=">=dev-lang/ocaml-3.07"
37
38 +pkg_setup() {
39 + if ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
40 + eerror "${PN} needs to be built with native code support from ocaml"
41 + eerror "You first need to have a native code ocaml compiler."
42 + eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
43 + die "Please install ocaml with ocamlopt useflag"
44 + fi
45 +}
46 +
47 src_compile() {
48 # Use the UNIX makefile
49 libdir=`ocamlc -where`
50 @@ -33,7 +44,7 @@
51 dodir ${libdir}/caml
52 dodir /usr/bin
53 # Install
54 - emake BINDIR=${D}/usr/bin OCAMLLIB=${D}${libdir} install || die
55 + emake BINDIR="${D}/usr/bin" OCAMLLIB="${D}${libdir}" install || die
56
57 # Documentation
58 dodoc README Changes
59
60
61
62 1.3 dev-ml/camlidl/ChangeLog
63
64 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/ChangeLog?rev=1.3&view=markup
65 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/ChangeLog?rev=1.3&content-type=text/plain
66 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/ChangeLog?r1=1.2&r2=1.3
67
68 Index: ChangeLog
69 ===================================================================
70 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v
71 retrieving revision 1.2
72 retrieving revision 1.3
73 diff -u -r1.2 -r1.3
74 --- ChangeLog 9 Feb 2007 02:44:43 -0000 1.2
75 +++ ChangeLog 3 Jan 2008 19:33:58 -0000 1.3
76 @@ -1,6 +1,9 @@
77 # ChangeLog for dev-ml/camlidl
78 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
79 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v 1.2 2007/02/09 02:44:43 flameeyes Exp $
80 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
81 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v 1.3 2008/01/03 19:33:58 aballier Exp $
82 +
83 + 03 Jan 2008; Alexis Ballier <aballier@g.o> camlidl-1.05.ebuild:
84 + ocamlopt is required here, there is no option to disable it
85
86 09 Feb 2007; Diego Pettenò <flameeyes@g.o> ChangeLog:
87 Regenerate digest in Manifest2 format.
88
89
90
91 --
92 gentoo-commits@g.o mailing list