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-util/omake: omake-0.9.8.5.ebuild ChangeLog
Date: Fri, 04 Jan 2008 02:35:14
Message-Id: E1JAcOp-0001fh-BF@stork.gentoo.org
1 aballier 08/01/04 02:35:07
2
3 Modified: omake-0.9.8.5.ebuild ChangeLog
4 Log:
5 allow to build without ocamlopt
6 (Portage version: 2.1.4_rc14)
7
8 Revision Changes Path
9 1.2 dev-util/omake/omake-0.9.8.5.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/omake-0.9.8.5.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/omake-0.9.8.5.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/omake-0.9.8.5.ebuild?r1=1.1&r2=1.2
14
15 Index: omake-0.9.8.5.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-util/omake/omake-0.9.8.5.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- omake-0.9.8.5.ebuild 23 Aug 2007 09:16:48 -0000 1.1
22 +++ omake-0.9.8.5.ebuild 4 Jan 2008 02:35:06 -0000 1.2
23 @@ -1,9 +1,11 @@
24 -# Copyright 1999-2007 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-util/omake/omake-0.9.8.5.ebuild,v 1.1 2007/08/23 09:16:48 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/omake-0.9.8.5.ebuild,v 1.2 2008/01/04 02:35:06 aballier Exp $
29
30 inherit eutils toolchain-funcs multilib
31
32 +EAPI="1"
33 +
34 EXTRAPV="-3"
35 DESCRIPTION="Make replacement"
36 HOMEPAGE="http://omake.metaprl.org/"
37 @@ -12,12 +14,21 @@
38
39 SLOT="0"
40 KEYWORDS="~amd64 ~ppc ~x86"
41 -IUSE="doc fam ncurses readline"
42 +IUSE="doc fam ncurses +ocamlopt readline"
43 DEPEND=">=dev-lang/ocaml-3.0.8
44 ncurses? ( >=sys-libs/ncurses-5.3 )
45 fam? ( virtual/fam )
46 readline? ( >=sys-libs/readline-4.3 )"
47
48 +pkg_setup() {
49 + if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
50 + eerror "In order to build ${PN} with native code support from ocaml"
51 + eerror "You first need to have a native code ocaml compiler."
52 + eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
53 + die "Please install ocaml with ocamlopt useflag"
54 + fi
55 +}
56 +
57 use_boolean() {
58 if use $1; then
59 echo "true"
60 @@ -36,8 +47,13 @@
61 echo "CC = $(tc-getCC)" >> .config
62 echo "CFLAGS = ${CFLAGS}" >> .config
63
64 - echo "NATIVE_ENABLED = true" >> .config
65 - echo "BYTE_ENABLED = false" >> .config
66 + if use ocamlopt; then
67 + echo "NATIVE_ENABLED = true" >> .config
68 + echo "BYTE_ENABLED = false" >> .config
69 + else
70 + echo "NATIVE_ENABLED = false" >> .config
71 + echo "BYTE_ENABLED = true" >> .config
72 + fi
73
74 echo "NATIVE_PROFILE = false" >> .config
75
76 @@ -59,4 +75,5 @@
77 dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt
78 dohtml -r doc/html/*
79 fi
80 + use ocamlopt || export STRIP_MASK="*/bin/*"
81 }
82
83
84
85 1.16 dev-util/omake/ChangeLog
86
87 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/ChangeLog?rev=1.16&view=markup
88 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/ChangeLog?rev=1.16&content-type=text/plain
89 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/ChangeLog?r1=1.15&r2=1.16
90
91 Index: ChangeLog
92 ===================================================================
93 RCS file: /var/cvsroot/gentoo-x86/dev-util/omake/ChangeLog,v
94 retrieving revision 1.15
95 retrieving revision 1.16
96 diff -u -r1.15 -r1.16
97 --- ChangeLog 23 Aug 2007 09:16:48 -0000 1.15
98 +++ ChangeLog 4 Jan 2008 02:35:06 -0000 1.16
99 @@ -1,6 +1,9 @@
100 # ChangeLog for dev-util/omake
101 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
102 -# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/ChangeLog,v 1.15 2007/08/23 09:16:48 aballier Exp $
103 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
104 +# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/ChangeLog,v 1.16 2008/01/04 02:35:06 aballier Exp $
105 +
106 + 04 Jan 2008; Alexis Ballier <aballier@g.o> omake-0.9.8.5.ebuild:
107 + allow to build without ocamlopt
108
109 *omake-0.9.8.5 (23 Aug 2007)
110
111
112
113
114 --
115 gentoo-commits@g.o mailing list