> oasis_use_enable() {
>           echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
> }

Mike added 'usex' to 'eutils.eclass' recently, so you might like to use it:
(UNTESTED)
    echo "--override $2 $(usex $1 true false)"

> oasis_src_configure() {
>       ocaml setup.ml -configure \
>               --prefix usr \
>               --libdir /usr/$(get_libdir) \
>               --docdir /usr/share/doc/${PF}/html \
>               --destdir "${D}" \
>               $(oasis_use_enable debug debug) \
>               $(oasis_use_enable ocamlopt is_native) \
>               ${oasis_configure_opts} \
>               || die
> }

This configure hates gentoo prefix, right?
Might worth sprinkling "${EPREFIX}" around absolute paths.

-- 

  Sergei

Attachment: signature.asc
Description: PGP signature

Reply via email to