summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-08 10:39:53 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-08 10:39:53 +0000
commitf40b42ac16da1a6587f33872fb4f3372e165f182 (patch)
tree5123bfc7332149484cc701247df3073647483cbd /eclass/kde.eclass
parentVersion bump #135953 by Arthur Koziel. (diff)
downloadhistorical-f40b42ac16da1a6587f33872fb4f3372e165f182.tar.gz
historical-f40b42ac16da1a6587f33872fb4f3372e165f182.tar.bz2
historical-f40b42ac16da1a6587f33872fb4f3372e165f182.zip
Don't add arts dependency for arts itself. Thanks to Ciaran McCreesh in bug #136022 for reporting.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 1a13e1a8c43d..ed66b5b9fc86 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.162 2006/05/31 15:58:29 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.163 2006/06/08 10:39:53 flameeyes Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -12,7 +12,7 @@ DESCRIPTION="Based on the $ECLASS eclass"
HOMEPAGE="http://www.kde.org/"
IUSE="debug xinerama"
-if [[ ${ARTS_REQUIRED} != "yes" && ${ARTS_REQUIRED} != "never" ]]; then
+if [[ ${ARTS_REQUIRED} != "yes" && ${ARTS_REQUIRED} != "never" && ${PN} != "arts" ]]; then
IUSE="${IUSE} arts"
fi
@@ -45,7 +45,7 @@ RDEPEND="~kde-base/kde-env-3
if [[ ${ARTS_REQUIRED} == "yes" ]]; then
DEPEND="${DEPEND} kde-base/arts"
RDEPEND="${RDEPEND} kde-base/arts"
-elif [[ ${ARTS_REQUIRED} != "never" ]]; then
+elif [[ ${ARTS_REQUIRED} != "never" && ${PN} != "arts" ]]; then
DEPEND="${DEPEND} arts? ( kde-base/arts )"
RDEPEND="${RDEPEND} arts? ( kde-base/arts )"
fi
@@ -183,7 +183,7 @@ kde_src_compile() {
fi
if [[ ${ARTS_REQUIRED} == "never" ]]; then
myconf="$myconf --without-arts"
- elif [[ ${ARTS_REQUIRED} != 'yes' ]]; then
+ elif [[ ${ARTS_REQUIRED} != 'yes' && ${PN} != "arts" ]]; then
# This might break some external package until
# ARTS_REQUIRED="yes" is set on them, KDE 3.2 is no more
# supported anyway.