summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-11-29 14:08:45 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-11-29 14:08:45 +0000
commit4a57760db2c7a80d4069136c7e89ac0b8e6a92c9 (patch)
treefe5e63dc8b8a0f0a30fb7e6fc94b35ca9f2f30b2 /kde-base/kghostview
parentStable on sparc wrt #113832 (diff)
downloadgentoo-2-4a57760db2c7a80d4069136c7e89ac0b8e6a92c9.tar.gz
gentoo-2-4a57760db2c7a80d4069136c7e89ac0b8e6a92c9.tar.bz2
gentoo-2-4a57760db2c7a80d4069136c7e89ac0b8e6a92c9.zip
Add check for bug #113176.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'kde-base/kghostview')
-rw-r--r--kde-base/kghostview/ChangeLog5
-rw-r--r--kde-base/kghostview/kghostview-3.5.0.ebuild9
2 files changed, 12 insertions, 2 deletions
diff --git a/kde-base/kghostview/ChangeLog b/kde-base/kghostview/ChangeLog
index 710fc24338e1..ec94b7721b21 100644
--- a/kde-base/kghostview/ChangeLog
+++ b/kde-base/kghostview/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for kde-base/kghostview
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kghostview/ChangeLog,v 1.29 2005/11/29 04:47:00 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kghostview/ChangeLog,v 1.30 2005/11/29 14:08:45 greg_g Exp $
+
+ 29 Nov 2005; Gregorio Guidi <greg_g@gentoo.org> kghostview-3.5.0.ebuild:
+ Add check for bug #113176.
29 Nov 2005; Jason Wever <weeve@gentoo.org> kghostview-3.5.0.ebuild:
Added ~sparc keyword.
diff --git a/kde-base/kghostview/kghostview-3.5.0.ebuild b/kde-base/kghostview/kghostview-3.5.0.ebuild
index cce368163e9a..1c9a065c67c2 100644
--- a/kde-base/kghostview/kghostview-3.5.0.ebuild
+++ b/kde-base/kghostview/kghostview-3.5.0.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/kghostview/kghostview-3.5.0.ebuild,v 1.2 2005/11/29 04:47:00 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kghostview/kghostview-3.5.0.ebuild,v 1.3 2005/11/29 14:08:45 greg_g Exp $
KMNAME=kdegraphics
MAXKDEVER=$PV
@@ -14,3 +14,10 @@ RDEPEND="${DEPEND}
virtual/ghostscript"
KMEXTRA="kfile-plugins/ps"
+pkg_setup() {
+ if ! built_with_use virtual/ghostscript X; then
+ eerror "This package requires virtual/ghostscript compiled with X11 support."
+ eerror "Please reemerge virtual/ghostscript with USE=\"X\"."
+ die "Please reemerge virtual/ghostscript with USE=\"X\"."
+ fi
+}