summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-02-16 19:59:04 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-02-16 19:59:04 +0000
commite719a04167e1e324d3d3b541a6b8f8390dd2f1e2 (patch)
tree2d3e22708440eaee8e26b7a53842528e45aa66f3 /eclass/kde.eclass
parentAdd slash after ${ROOT} in pkg_config. (diff)
downloadhistorical-e719a04167e1e324d3d3b541a6b8f8390dd2f1e2.tar.gz
historical-e719a04167e1e324d3d3b541a6b8f8390dd2f1e2.tar.bz2
historical-e719a04167e1e324d3d3b541a6b8f8390dd2f1e2.zip
Don't do "built_with_use kdelibs arts" check when builing arts or kdelibs.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass18
1 files changed, 10 insertions, 8 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 6b00dc02229b..58604acca4d5 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.113 2005/02/16 11:11:33 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.114 2005/02/16 19:59:04 carlo Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -27,13 +27,15 @@ RDEPEND="~kde-base/kde-env-3"
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
+ if [ "${PN}" != "arts" ] && [ "${PN}" != "kdelibs" ] ; then
+ 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
fi
}