summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-24 19:15:56 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-24 19:15:56 +0000
commiteb371b50e85d7b9b6ca7e91ffcb2585695687dfa (patch)
tree71303fb8b76d8e4b76cb4252b5a45c6bba262a5d /kde-base
parentAdd new-style virtual for xft, again so xorg-x11-7 ebuilds don't provide it. (diff)
downloadgentoo-2-eb371b50e85d7b9b6ca7e91ffcb2585695687dfa.tar.gz
gentoo-2-eb371b50e85d7b9b6ca7e91ffcb2585695687dfa.tar.bz2
gentoo-2-eb371b50e85d7b9b6ca7e91ffcb2585695687dfa.zip
Fix check for ghostscript built with X. Thanks to Andrei Ivanov in bug #131122.
(Portage version: 2.1_pre9-r4)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kghostview/ChangeLog6
-rw-r--r--kde-base/kghostview/kghostview-3.5.2.ebuild14
2 files changed, 13 insertions, 7 deletions
diff --git a/kde-base/kghostview/ChangeLog b/kde-base/kghostview/ChangeLog
index 1afdfd7ac902..d4bdf8106aec 100644
--- a/kde-base/kghostview/ChangeLog
+++ b/kde-base/kghostview/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/kghostview
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kghostview/ChangeLog,v 1.43 2006/04/09 16:48:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kghostview/ChangeLog,v 1.44 2006/04/24 19:15:56 flameeyes Exp $
+
+ 24 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ kghostview-3.5.2.ebuild:
+ Fix check for ghostscript built with X. Thanks to Andrei Ivanov in bug #131122.
09 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
kghostview-3.5.2.ebuild:
diff --git a/kde-base/kghostview/kghostview-3.5.2.ebuild b/kde-base/kghostview/kghostview-3.5.2.ebuild
index 7e75bc0bfe1e..c0788a82848d 100644
--- a/kde-base/kghostview/kghostview-3.5.2.ebuild
+++ b/kde-base/kghostview/kghostview-3.5.2.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/kde-base/kghostview/kghostview-3.5.2.ebuild,v 1.4 2006/04/09 16:48:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kghostview/kghostview-3.5.2.ebuild,v 1.5 2006/04/24 19:15:56 flameeyes Exp $
KMNAME=kdegraphics
MAXKDEVER=$PV
@@ -15,9 +15,11 @@ RDEPEND="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
+ for ghostscript in app-text/ghostscript-{gnu,esp,afpl}; do
+ if has_version ${ghostscript} && !built_with_use ${ghostscript} X; then
+ eerror "This package requires ${ghostscript} compiled with X11 support."
+ eerror "Please reemerge ${ghostscript} with USE=\"X\"."
+ die "Please reemerge ${ghostscript} with USE=\"X\"."
+ fi
+ done
}