diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-24 19:15:56 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-24 19:15:56 +0000 |
commit | 93cd70d7559a8d9194cbda6bd79efa025425c49d (patch) | |
tree | 8b601b6b12bba03bba7f57430898f71db04c68c5 /kde-base/kghostview | |
parent | Add new-style virtual for xft, again so xorg-x11-7 ebuilds don't provide it. (diff) | |
download | historical-93cd70d7559a8d9194cbda6bd79efa025425c49d.tar.gz historical-93cd70d7559a8d9194cbda6bd79efa025425c49d.tar.bz2 historical-93cd70d7559a8d9194cbda6bd79efa025425c49d.zip |
Fix check for ghostscript built with X. Thanks to Andrei Ivanov in bug #131122.
Package-Manager: portage-2.1_pre9-r4
Diffstat (limited to 'kde-base/kghostview')
-rw-r--r-- | kde-base/kghostview/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/kghostview/kghostview-3.5.2.ebuild | 14 |
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 } |