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
commitfd46027157ab260904b3f3d1845f432465bc8691 (patch)
treedc8f04e141facb8b830f27cf302f8838d1215310 /kde-base/kasteroids
parentOnly compile kasteroids and kbounce when using arts. (diff)
downloadhistorical-fd46027157ab260904b3f3d1845f432465bc8691.tar.gz
historical-fd46027157ab260904b3f3d1845f432465bc8691.tar.bz2
historical-fd46027157ab260904b3f3d1845f432465bc8691.zip
Fail if arts is not used.
Package-Manager: portage-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
+}