1 |
On Fri, 23 Mar 2012 11:58:47 -0400 |
2 |
Mike Gilbert <floppym@g.o> wrote: |
3 |
|
4 |
> On Fri, Mar 23, 2012 at 4:15 AM, Alexis Ballier <aballier@g.o> |
5 |
> wrote: |
6 |
> |
7 |
> > DEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]" |
8 |
> > DEPEND="${RDEPEND}" |
9 |
> |
10 |
> That looks like a typo. |
11 |
|
12 |
yes, thanks for spotting |
13 |
|
14 |
> |
15 |
> > oasis_src_compile() { |
16 |
> > oasis_src_compile_no_doc |
17 |
> > if has doc ${IUSE} && use doc; then |
18 |
> > ocaml setup.ml -doc || die |
19 |
> > fi |
20 |
> > } |
21 |
> |
22 |
> This should probably call use_if_iuse from eutils.eclass, which |
23 |
> handles IUSE="[+-]doc". |
24 |
> |
25 |
|
26 |
hmm, actually, I like the idea of something like OASIS_WANT_DOCS as |
27 |
suggested by Ciaran, this sounds simpler and, as a side effect, will |
28 |
allow me to kill the useless oasis_src_compile_no_doc function. |
29 |
|
30 |
I'll come back with something like this and post an update, most likely |
31 |
next week, pilling up the reviews :=) |
32 |
|
33 |
|
34 |
A. |