Hello, That's right. I've added need-cmake function which add >=dev-util/cmake-VERSION depend.
need-cmake() { debug-print-function $FUNCNAME $* CMAKEVER="$1" # from need-kde if [ "${RDEPEND-unset}" != "unset" ] ; then x_DEPEND="${RDEPEND}" else x_DEPEND="${DEPEND}" fi DEPEND="${DEPEND} >=dev-util/cmake-${CMAKEVER}" RDEPEND="${x_DEPEND} >=dev-util/cmake-${CMAKEVER}" } I don't think there is backward compatiblity issue with cmake, but if such, perhaps it will be better to have cmake_min_version an cmake_max_version functions. http://backzone.net/~panard/patches/gentoo-overlay/eclass/cmake.eclass Le Mercredi 24 Mai 2006 14:11, Thomas Kear a écrit : > Can I suggest including a function for setting a minumum cmake > version, similar to the need-kde function in kde-functions.eclass. > For some apps, cmake 2.2 is a requirement, and giving the option to > require =dev-util/cmake-2.2* will prevent breakage on architectures > for which 2.2 is still ~. With cmake 2.4 released it may again become > important. > > -- > Thomas Kear > [EMAIL PROTECTED] -- HomePage: http://dev.inzenet.org/~panard/ Yzis : http://www.yzis.org Qomics : http://dev.inzenet.org/~panard/qomics Smileys : http://smileys.inzenet.org
pgp0iAGzHMRj1.pgp
Description: PGP signature