On Tue, 27 Dec 2005 18:44:01 +0100 Carsten Lohrke <[EMAIL PROTECTED]> wrote: | On Tuesday 27 December 2005 18:10, Ciaran McCreesh wrote: | > eclass, and no -r bump. | | Then it would not be possible to build the Application against | different KDE versions and those who want to stay with a previous KDE | version wouldn't be able to install any application.
Sure they would. In the eclass, do something like (untested, buggy, just a vague proof of concept not real code): s= for s_p in ${KDE_NEEDS_PACKAGES} ; do s_s= for s_v in 3.3 3.4 4.0 ; do [[ -z ${KDE_MIN_VER} ]] || version_is_at_least ${KDE_MIN_VER} s_v || continue s_s="${s_s} ${s_p}:${s_v}" done DEPEND="${DEPEND} || ( ${s_s} )" done | And conditional dependencies would break caching. Nnnope. If you modify an eclass it forces a cache regen for packages using said eclass (except possibly if you're using an overlay, but that's a separate issue...). -- Ciaran McCreesh : Gentoo Developer (I can kill you with my brain) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm
signature.asc
Description: PGP signature