diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-02-16 11:11:33 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-02-16 11:11:33 +0000 |
commit | 2480b769b685af9da6fe6a99d4ef00ee0e06e119 (patch) | |
tree | 9cd80cea6876cfca7d91010746448cdf535df392 /eclass/kde.eclass | |
parent | Stable on alpha, bug 79585. (diff) | |
download | gentoo-2-2480b769b685af9da6fe6a99d4ef00ee0e06e119.tar.gz gentoo-2-2480b769b685af9da6fe6a99d4ef00ee0e06e119.tar.bz2 gentoo-2-2480b769b685af9da6fe6a99d4ef00ee0e06e119.zip |
Add check for kdelibs compiled with arts support (#75315).
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 4b376377bdb4..6b00dc02229b 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.112 2005/02/06 07:38:17 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.113 2005/02/16 11:11:33 greg_g Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -26,6 +26,17 @@ RDEPEND="~kde-base/kde-env-3" # 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 $* @@ -194,4 +205,4 @@ kde_src_install() { } -EXPORT_FUNCTIONS src_unpack src_compile src_install +EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install |