Index: kde.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v retrieving revision 1.110 diff -u -b -B -r1.110 kde.eclass --- kde.eclass 29 Jan 2005 13:42:43 -0000 1.110 +++ kde.eclass 31 Jan 2005 21:52:04 -0000 @@ -26,6 +26,17 @@ # overridden in other places like kde-dist, kde-source and some individual ebuilds SLOT="0" +kde_pkg_setup() { + use arts && if ! built_with_use kdelibs arts ; then + eerror "You are trying to compile ${CATEGORY}/${P} with the \"arts\" USE flag enabled." + eerror "However, $(best_version kdelibs) was compiled with this flag disabled." + eerror + eerror "You must either disable this use flag, or recompile" + eerror "$(best_version kdelibs) with this use flag enabled." + die + fi +} + kde_src_unpack() { debug-print-function $FUNCNAME $* @@ -192,4 +203,4 @@ } -EXPORT_FUNCTIONS src_unpack src_compile src_install +EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install