Ok, 
I removed need-cmake function and add :

if [ ! -z "${NEED_CMAKE}" ]; then
    DEPEND="dev-util/cmake"
else
    DEPEND=">=dev-util/cmake-${NEED_CMAKE}"
fi
RDEPEND=""

is it ok ?

http://backzone.net/~panard/patches/gentoo-overlay/eclass/cmake.eclass

Panard


Le Jeudi 25 Mai 2006 13:31, Carsten Lohrke a écrit :
> Don't repeat a failure of the past. Do
>
>
> NEED_CMAKE x.y
>
> inherit foo
>
> ...
>
>
> instead this ugly toplevel function call.
>
>
> Carsten

-- 
gentoo-dev@gentoo.org mailing list

Reply via email to