From 9d6fbc832e18d6897f4887cc41340fc895c9c011 Mon Sep 17 00:00:00 2001
From: Peter Volkov <pva@gentoo.org>
Date: Tue, 29 Apr 2008 08:24:24 +0000
Subject: Changed ordering of use ... and built_with_use ... to avoid
 built_with_use checks on nonexistent packages, bug #219631, thank Martin Väth
 for report. (Portage version: 2.1.4.4)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app-dicts/stardict/ChangeLog                |  7 ++++++-
 app-dicts/stardict/stardict-3.0.1-r1.ebuild | 13 ++++++-------
 2 files changed, 12 insertions(+), 8 deletions(-)

(limited to 'app-dicts/stardict')

diff --git a/app-dicts/stardict/ChangeLog b/app-dicts/stardict/ChangeLog
index 15e9cc44bc28..17d6b43adfdf 100644
--- a/app-dicts/stardict/ChangeLog
+++ b/app-dicts/stardict/ChangeLog
@@ -1,6 +1,11 @@
 # ChangeLog for app-dicts/stardict
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v 1.44 2008/04/28 11:17:59 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v 1.45 2008/04/29 08:24:24 pva Exp $
+
+  29 Apr 2008; Peter Volkov <pva@gentoo.org> stardict-3.0.1-r1.ebuild:
+  Changed ordering of use ... and built_with_use ... to avoid built_with_use
+  checks on nonexistent packages, bug #219631, thank Martin Väth for
+  report.
 
   28 Apr 2008; Peter Volkov <pva@gentoo.org> metadata.xml:
   moved to app-dicts herd, added longdescription.
diff --git a/app-dicts/stardict/stardict-3.0.1-r1.ebuild b/app-dicts/stardict/stardict-3.0.1-r1.ebuild
index de152bc48257..3a179800629a 100644
--- a/app-dicts/stardict/stardict-3.0.1-r1.ebuild
+++ b/app-dicts/stardict/stardict-3.0.1-r1.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-3.0.1-r1.ebuild,v 1.2 2008/04/28 15:57:25 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-3.0.1-r1.ebuild,v 1.3 2008/04/29 08:24:24 pva Exp $
 
 inherit gnome2 eutils autotools
 
@@ -40,12 +40,11 @@ DEPEND="${DEP}
 	dev-util/pkgconfig"
 
 pkg_setup() {
-	built_with_use gnome-base/libgnome esd || \
-		if use gnome && use pronounce; then
-			ewarn 'Note, being built with USE="gnome" stardict uses gnome_sound_play()'
-			ewarn 'to play RealPeopleTTS sounds, which plays sounds only in case'
-			ewarn 'gnome-base/libgnome was built with USE="esd".'
-		fi
+	if (use gnome && use pronounce && ! built_with_use gnome-base/libgnome esd); then
+		ewarn 'Note, being built with USE="gnome" stardict uses gnome_sound_play()'
+		ewarn 'to play RealPeopleTTS sounds, which plays sounds only in case'
+		ewarn 'gnome-base/libgnome was built with USE="esd".'
+	fi
 }
 
 src_unpack() {
-- 
cgit v1.2.3-65-gdbad