summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-02-28 15:35:46 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-02-28 15:35:46 +0000
commitea5a98fc3024869fb0bee45af6baec9f3a49ad8f (patch)
tree8dea307debaee462e70d0c57df2cb019a970fe6f /kde-base/kasteroids
parentOnly compile kasteroids and kbounce when using arts. (diff)
downloadgentoo-2-ea5a98fc3024869fb0bee45af6baec9f3a49ad8f.tar.gz
gentoo-2-ea5a98fc3024869fb0bee45af6baec9f3a49ad8f.tar.bz2
gentoo-2-ea5a98fc3024869fb0bee45af6baec9f3a49ad8f.zip
Fail if arts is not used.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'kde-base/kasteroids')
-rw-r--r--kde-base/kasteroids/kasteroids-3.4.0_rc1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/kde-base/kasteroids/kasteroids-3.4.0_rc1.ebuild b/kde-base/kasteroids/kasteroids-3.4.0_rc1.ebuild
index 7e16fdee545b..dd289eb500f4 100644
--- a/kde-base/kasteroids/kasteroids-3.4.0_rc1.ebuild
+++ b/kde-base/kasteroids/kasteroids-3.4.0_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kasteroids/kasteroids-3.4.0_rc1.ebuild,v 1.1 2005/02/27 20:21:31 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kasteroids/kasteroids-3.4.0_rc1.ebuild,v 1.2 2005/02/28 15:34:30 greg_g Exp $
KMNAME=kdegames
MAXKDEVER=$PV
KM_DEPRANGE="$PV $MAXKDEVER"
@@ -14,3 +14,10 @@ OLDDEPEND="~kde-base/libkdegames-$PV"
KMEXTRACTONLY=libkdegames
KMCOPYLIB="libkdegames libkdegames"
+
+pkg_setup() {
+ if ! useq arts; then
+ eerror "${PN} needs the USE=\"arts\" enabled and also the kdelibs compiled with the USE=\"arts\" enabled"
+ die
+ fi
+}