summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/kipi-plugins/kipi-plugins-0.1.0_rc1.ebuild')
-rw-r--r--media-plugins/kipi-plugins/kipi-plugins-0.1.0_rc1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/media-plugins/kipi-plugins/kipi-plugins-0.1.0_rc1.ebuild b/media-plugins/kipi-plugins/kipi-plugins-0.1.0_rc1.ebuild
index 1c77c698f8c2..c75230a6b00b 100644
--- a/media-plugins/kipi-plugins/kipi-plugins-0.1.0_rc1.ebuild
+++ b/media-plugins/kipi-plugins/kipi-plugins-0.1.0_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/kipi-plugins-0.1.0_rc1.ebuild,v 1.6 2006/09/05 18:32:55 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/kipi-plugins/kipi-plugins-0.1.0_rc1.ebuild,v 1.7 2006/10/17 13:35:20 deathwing00 Exp $
inherit kde
@@ -30,6 +30,12 @@ need-kde 3.1
pkg_setup(){
slot_rebuild "media-libs/libkipi media-libs/libkexif" && die
+ if ! built_with_use media-libs/imlib2 X ; then
+ eerror "X support is required in media-libs/imlib2 in order to be able"
+ eerror "to compile media-plugins/kipi-plugins. Please, re-emerge"
+ eerror "media-libs/imlib2 with the 'X' USE flag enabled."
+ die
+ fi
}
src_compile() {